35 #include "../camera.h" 37 #define RAYPACKET_DIM (1 << 3) 38 #define RAYPACKET_MASK (unsigned int) ( ( RAYPACKET_DIM - 1 ) ) 39 #define RAYPACKET_INVMASK (unsigned int) ( ~( RAYPACKET_DIM - 1 ) ) 40 #define RAYPACKET_RAYS_PER_PACKET ( RAYPACKET_DIM * RAYPACKET_DIM ) 48 const SFVEC3F& aDirectionDisplacementFactor );
51 unsigned int aPixelMultiple );
56 const SFVEC2F& a2DWindowsPosDisplacementFactor );
65 const SFVEC2F& a2DWindowsPosDisplacementFactor,
68 #endif // _RAYPACKET_H_ RAY m_ray[RAYPACKET_RAYS_PER_PACKET]
void RAYPACKET_InitRays(const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, RAY *aRayPck)
Implement a frustum that is used for ray packet tests.
A class used to derive camera objects from.
void RAYPACKET_InitRays_with2DDisplacement(const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, const SFVEC2F &a2DWindowsPosDisplacementFactor, RAY *aRayPck)
#define RAYPACKET_RAYS_PER_PACKET
RAYPACKET(const CAMERA &aCamera, const SFVEC2I &aWindowsPosition)