47#ifdef RAYTRACING_RAY_STATISTICS
49 unsigned int m_NrRayObjTests;
50 unsigned int m_NrTransversedNodes;
Stores the hit information of a ray with a point on the surface of a object.
unsigned int m_acc_node_info
( 4) The acc stores here the node that it hits
float m_tHit
( 4) distance
const OBJECT_3D * pHitObject
( 4) Object that was hitted
float m_ShadowFactor
( 4) Shadow attenuation (1.0 no shadow, 0.0f darkness)
SFVEC2F m_UV
( 8) 2-D texture coordinates
SFVEC3F m_HitNormal
(12) normal at the hit point
SFVEC3F m_HitPoint
(12) hit position