struct

HitRecord

Inherits Struct < Value < Object

Constructors

new(object : Hittable, p : Vec3, t : Float64, r : Ray, outward_normal : Vec3, u : Float64 = 0.0, v : Float64 = 0.0)
Source

Instance methods

front_face?
Source
normal
Source
object
Source