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.
Referenced by RENDER_3D_RAYTRACE_BASE::initializeBlockPositions(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RAYPACKET_GenerateFrustum(), RAYPACKET_InitRays(), RAYPACKET_InitRays_with2DDisplacement(), RENDER_3D_RAYTRACE_BASE::renderAntiAliasPackets(), RENDER_3D_RAYTRACE_BASE::renderBlockTracing(), RENDER_3D_RAYTRACE_BASE::renderPreview(), and RENDER_3D_RAYTRACE_BASE::renderRayPackets().
#define RAYPACKET_INVMASK (unsigned int) ( ~( RAYPACKET_DIM - 1 ) ) |
Definition at line 34 of file raypacket.h.
Referenced by RENDER_3D_RAYTRACE_BASE::initializeBlockPositions().
#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.
Referenced by BVH_PBRT::BVH_PBRT(), getFirstHit(), getLastHit(), HITINFO_PACKET_init(), BVH_PBRT::Intersect(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RAYPACKET::RAYPACKET(), RENDER_3D_RAYTRACE_BASE::renderAntiAliasPackets(), RENDER_3D_RAYTRACE_BASE::renderBlockTracing(), and RENDER_3D_RAYTRACE_BASE::renderPreview().
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().