KiCad PCB EDA Suite
Loading...
Searching...
No Matches
bvh_packet_traversal.cpp File Reference

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)
 

Detailed Description

This file implements packet traversal over the BVH PBRT implementation.

Definition in file bvh_packet_traversal.cpp.

Macro Definition Documentation

◆ BVH_RANGED_TRAVERSAL

#define BVH_RANGED_TRAVERSAL

Definition at line 33 of file bvh_packet_traversal.cpp.

◆ MAX_TODOS

#define MAX_TODOS   64

Definition at line 37 of file bvh_packet_traversal.cpp.

Function Documentation

◆ getFirstHit()

static unsigned int getFirstHit ( const RAYPACKET aRayPacket,
const BBOX_3D aBBox,
unsigned int  ia,
HITINFO_PACKET aHitInfoPacket 
)
inlinestatic

◆ getLastHit()

static unsigned int getLastHit ( const RAYPACKET aRayPacket,
const BBOX_3D aBBox,
unsigned int  ia,
HITINFO_PACKET aHitInfoPacket 
)
inlinestatic