Nebula
Loading...
Searching...
No Matches
Util::Bvh::Node Class Reference

#include <bvh.h>

Public Member Functions

float CalculateCost () const
 
bool IsLeaf () const
 

Public Attributes

friend Bvh
 
Math::bbox bbox
 the bounding box of the node
 
uint32_t index = -1
 left node, or index to first child if count is zero
 
uint32_t count
 number of children
 

Member Function Documentation

◆ CalculateCost()

float Util::Bvh::Node::CalculateCost ( ) const
inline

◆ IsLeaf()

bool Util::Bvh::Node::IsLeaf ( ) const
inline

Member Data Documentation

◆ bbox

Math::bbox Util::Bvh::Node::bbox

the bounding box of the node

◆ Bvh

friend Util::Bvh::Node::Bvh

◆ count

uint32_t Util::Bvh::Node::count

number of children

◆ index

uint32_t Util::Bvh::Node::index = -1

left node, or index to first child if count is zero


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