struct HitRecord
- HitRecord
- Struct
- Value
- Object
Overview
Container for all kinds of parameters
about an intersection between a Ray
and some Hitable
.
Defined in:
hitable.crConstructors
Instance Method Summary
- #material : Material
- #normal : Normal
-
#object : Hitable
The actual object that was hit.
- #point : Point
-
#t : Float64
Parameter of the ray at which the intersection occured
-
#u : Float64
Texture coordinates of the hit point
-
#v : Float64
Texture coordinates of the hit point
Constructor Detail
Instance Method Detail
The actual object that was hit.
NOTE This is only needed for area lights right now