struct

Lambertian

Inherits Material < Struct < Value < Object

Constructors

new(albedo : Texture)
Source
new(albedo : Color)
Source

Instance methods

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