struct

Dielectric

Inherits Material < Struct < Value < Object

Constructors

new(ir : Float64)
Source

Instance methods

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