struct Dielectric

Defined in:

material.cr

Constructors

Instance Method Summary

Instance methods inherited from struct Material

initialize initialize, scatter(r_in : Ray, rec : HitRecord) : MaybeRayAndAttenuation scatter

Constructor methods inherited from struct Material

new new

Constructor Detail

def self.new(ir : Float64) #

[View source]

Instance Method Detail

def scatter(r_in : Ray, rec : HitRecord) : MaybeRayAndAttenuation #

[View source]