class Light::Area

Defined in:

light.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Light

delta_light? : Bool delta_light?, pdf(point : Point, wi : Vector) : Float64 pdf, power : Color power, sample_l(normal : Normal, scene : Scene, point : Point) : IncomingSample
sample_l : OutgoingSample
sample_l

Constructor Detail

def self.new(object : BoundedHitable, intensity : Color) #

[View source]

Class Method Detail

def self.with_object(object : BoundedHitable, intensity : Color) #

[View source]

Instance Method Detail

def delta_light? #

[View source]
def pdf(point, wi) #

[View source]
def power #

[View source]
def sample_l(normal : Normal, scene : Scene, point : Point) #

[View source]
def sample_l #

[View source]