KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
struct | RAYPACKET |
Macros | |
#define | RAYPACKET_DIM (1 << 3) |
#define | RAYPACKET_MASK (unsigned int) ( ( RAYPACKET_DIM - 1 ) ) |
#define | RAYPACKET_INVMASK (unsigned int) ( ~( RAYPACKET_DIM - 1 ) ) |
#define | RAYPACKET_RAYS_PER_PACKET ( RAYPACKET_DIM * RAYPACKET_DIM ) |
Functions | |
void | RAYPACKET_InitRays (const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, RAY *aRayPck) |
void | RAYPACKET_InitRays_with2DDisplacement (const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, const SFVEC2F &a2DWindowsPosDisplacementFactor, RAY *aRayPck) |
#define RAYPACKET_DIM (1 << 3) |
Definition at line 32 of file raypacket.h.
#define RAYPACKET_INVMASK (unsigned int) ( ~( RAYPACKET_DIM - 1 ) ) |
Definition at line 34 of file raypacket.h.
#define RAYPACKET_MASK (unsigned int) ( ( RAYPACKET_DIM - 1 ) ) |
Definition at line 33 of file raypacket.h.
#define RAYPACKET_RAYS_PER_PACKET ( RAYPACKET_DIM * RAYPACKET_DIM ) |
Definition at line 35 of file raypacket.h.
Definition at line 143 of file raypacket.cpp.
References RAY::Init(), CAMERA::MakeRay(), and RAYPACKET_DIM.
Referenced by RAYPACKET::RAYPACKET().
void RAYPACKET_InitRays_with2DDisplacement | ( | const CAMERA & | aCamera, |
const SFVEC2F & | aWindowsPosition, | ||
const SFVEC2F & | a2DWindowsPosDisplacementFactor, | ||
RAY * | aRayPck | ||
) |
Definition at line 162 of file raypacket.cpp.
References Fast_RandFloat(), RAY::Init(), CAMERA::MakeRay(), and RAYPACKET_DIM.
Referenced by RAYPACKET::RAYPACKET(), and RENDER_3D_RAYTRACE_BASE::renderBlockTracing().