class Raytracer::SPPMPixel
- Raytracer::SPPMPixel
- Reference
- Object
Overview
NOTE This needs to be a class instead of a struct bc/ of the way grid and pixels interact and mutate each others values
Defined in:
raytracers/sppm.crConstructors
Instance Method Summary
- #add_phi(new_phi)
- #ld : ::Color
- #ld=(ld : ::Color)
- #m : Int32
- #n : Float64
- #phi : ::Color
- #radius : Float64
- #tau : ::Color
- #tau=(tau : ::Color)
- #update!
- #vp : VisiblePoint?
- #vp=(vp : VisiblePoint?)
Constructor Detail
def self.new(radius = 0.0, ld = ::Color::BLACK, vp = nil, m = 0, n = 0.0, tau = ::Color::BLACK, phi = ::Color::BLACK)
#