KiCad PCB EDA Suite
Loading...
Searching...
No Matches
RAYPACKET Struct Reference

#include <raypacket.h>

Public Member Functions

 RAYPACKET (const CAMERA &aCamera, const SFVEC2I &aWindowsPosition)
 
 RAYPACKET (const CAMERA &aCamera, const SFVEC2I &aWindowsPosition, const SFVEC3F &aDirectionDisplacementFactor)
 
 RAYPACKET (const CAMERA &aCamera, const SFVEC2I &aWindowsPosition, unsigned int aPixelMultiple)
 
 RAYPACKET (const CAMERA &aCamera, const SFVEC2F &aWindowsPosition)
 
 RAYPACKET (const CAMERA &aCamera, const SFVEC2F &aWindowsPosition, const SFVEC2F &a2DWindowsPosDisplacementFactor)
 

Public Attributes

FRUSTUM m_Frustum
 
RAY m_ray [RAYPACKET_RAYS_PER_PACKET]
 

Detailed Description

Definition at line 38 of file raypacket.h.

Constructor & Destructor Documentation

◆ RAYPACKET() [1/5]

RAYPACKET::RAYPACKET ( const CAMERA aCamera,
const SFVEC2I aWindowsPosition 
)

◆ RAYPACKET() [2/5]

RAYPACKET::RAYPACKET ( const CAMERA aCamera,
const SFVEC2I aWindowsPosition,
const SFVEC3F aDirectionDisplacementFactor 
)

◆ RAYPACKET() [3/5]

RAYPACKET::RAYPACKET ( const CAMERA aCamera,
const SFVEC2I aWindowsPosition,
unsigned int  aPixelMultiple 
)

◆ RAYPACKET() [4/5]

RAYPACKET::RAYPACKET ( const CAMERA aCamera,
const SFVEC2F aWindowsPosition 
)

Definition at line 66 of file raypacket.cpp.

References m_Frustum, m_ray, RAYPACKET_GenerateFrustum(), and RAYPACKET_InitRays().

◆ RAYPACKET() [5/5]

RAYPACKET::RAYPACKET ( const CAMERA aCamera,
const SFVEC2F aWindowsPosition,
const SFVEC2F a2DWindowsPosDisplacementFactor 
)

Member Data Documentation

◆ m_Frustum

FRUSTUM RAYPACKET::m_Frustum

Definition at line 53 of file raypacket.h.

Referenced by getFirstHit(), BVH_PBRT::Intersect(), and RAYPACKET().

◆ m_ray


The documentation for this struct was generated from the following files: