Public Member Functions | |
HitRec () | |
constructor | |
Public Attributes | |
Intersectable * | object |
Intersectable hit by the ray. | |
Vector | point |
point of the intersection | |
Vector | normal |
normal at the intersection | |
Vector | texUV |
texture coordinates at the intersection | |
const Material * | material |
Material of the Intersectable that was hit. | |
float | depth |
distance from ray origin | |
bool | isIntersect |
valid flag |