Physics Simulation & Visualization Tool 0.1
A C++ physics simulation engine with real-time 3D visualization
Loading...
Searching...
No Matches
BVHNode Struct Reference

#include <BVH.h>

Collaboration diagram for BVHNode:
[legend]

Public Member Functions

bool isLeaf () const
 

Data Fields

Physics::Bounding::AABB bounds
 
NodeIndex left
 
NodeIndex right
 
Physics::PhysicsBodybody = nullptr
 

Detailed Description

Definition at line 9 of file BVH.h.

Member Function Documentation

◆ isLeaf()

bool BVHNode::isLeaf ( ) const
inline

Definition at line 15 of file BVH.h.

Here is the caller graph for this function:

Field Documentation

◆ body

Physics::PhysicsBody* BVHNode::body = nullptr

Definition at line 13 of file BVH.h.

◆ bounds

Physics::Bounding::AABB BVHNode::bounds

Definition at line 10 of file BVH.h.

◆ left

NodeIndex BVHNode::left

Definition at line 11 of file BVH.h.

◆ right

NodeIndex BVHNode::right

Definition at line 12 of file BVH.h.


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