struct

Metal

Inherits Material < Struct < Value < Object

Constructors

new(albedo : Color, fuzz : Float64)
Source

Instance methods

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