32#define RAYPACKET_DIM (1 << 3)
33#define RAYPACKET_MASK (unsigned int) ( ( RAYPACKET_DIM - 1 ) )
34#define RAYPACKET_INVMASK (unsigned int) ( ~( RAYPACKET_DIM - 1 ) )
35#define RAYPACKET_RAYS_PER_PACKET ( RAYPACKET_DIM * RAYPACKET_DIM )
43 const SFVEC3F& aDirectionDisplacementFactor );
46 unsigned int aPixelMultiple );
51 const SFVEC2F& a2DWindowsPosDisplacementFactor );
60 const SFVEC2F& a2DWindowsPosDisplacementFactor,
Define an abstract camera.
A class used to derive camera objects from.
Implement a frustum that is used for ray packet tests.
#define RAYPACKET_RAYS_PER_PACKET
void RAYPACKET_InitRays_with2DDisplacement(const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, const SFVEC2F &a2DWindowsPosDisplacementFactor, RAY *aRayPck)
void RAYPACKET_InitRays(const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, RAY *aRayPck)
RAY m_ray[RAYPACKET_RAYS_PER_PACKET]