Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::KdtreeNode Class Referencefinal

#include <KdtreeNode.h>

Public Member Functions

 KdtreeNode (std::vector< const Intersectable * > *intersectableBuffer)
 
void buildTree (const std::vector< const Intersectable * > &intersectables)
 
bool findClosestIntersection (const Ray &ray, HitProbe &probe) const
 
KdtreeAABB getAABB () const
 

Constructor & Destructor Documentation

◆ KdtreeNode()

ph::KdtreeNode::KdtreeNode ( std::vector< const Intersectable * > * intersectableBuffer)

Member Function Documentation

◆ buildTree()

void ph::KdtreeNode::buildTree ( const std::vector< const Intersectable * > & intersectables)

◆ findClosestIntersection()

bool ph::KdtreeNode::findClosestIntersection ( const Ray & ray,
HitProbe & probe ) const

◆ getAABB()

KdtreeAABB ph::KdtreeNode::getAABB ( ) const
inline

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