| 
    KiCad PCB EDA Suite
    
   | 
 
This file implements packet traversal over the BVH PBRT implementation. More...
#include "bvh_pbrt.h"Go to the source code of this file.
Classes | |
| struct | StackNode | 
Macros | |
| #define | BVH_RANGED_TRAVERSAL | 
| #define | MAX_TODOS 64 | 
Functions | |
| static unsigned int | getFirstHit (const RAYPACKET &aRayPacket, const BBOX_3D &aBBox, unsigned int ia, HITINFO_PACKET *aHitInfoPacket) | 
| static unsigned int | getLastHit (const RAYPACKET &aRayPacket, const BBOX_3D &aBBox, unsigned int ia, HITINFO_PACKET *aHitInfoPacket) | 
This file implements packet traversal over the BVH PBRT implementation.
Definition in file bvh_packet_traversal.cpp.
| #define BVH_RANGED_TRAVERSAL | 
Definition at line 33 of file bvh_packet_traversal.cpp.
| #define MAX_TODOS 64 | 
Definition at line 37 of file bvh_packet_traversal.cpp.
Referenced by BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), BVH_PBRT::Intersect(), and BVH_PBRT::IntersectP().
      
  | 
  inlinestatic | 
Definition at line 47 of file bvh_packet_traversal.cpp.
References BBOX_3D::Intersect(), FRUSTUM::Intersect(), RAYPACKET::m_Frustum, HITINFO_PACKET::m_HitInfo, RAYPACKET::m_ray, HITINFO::m_tHit, and RAYPACKET_RAYS_PER_PACKET.
Referenced by BVH_PBRT::Intersect().
      
  | 
  inlinestatic | 
Definition at line 72 of file bvh_packet_traversal.cpp.
References BBOX_3D::Intersect(), HITINFO_PACKET::m_HitInfo, RAYPACKET::m_ray, HITINFO::m_tHit, and RAYPACKET_RAYS_PER_PACKET.
Referenced by BVH_PBRT::Intersect().