Toast Engine
Loading...
Searching...
No Matches
physics::TreeNode Struct Reference
Collaboration diagram for physics::TreeNode:

Public Member Functions

auto isAllocated () const -> bool
auto isLeaf () const -> bool

Public Attributes

AABB bounds {}
TreeNodeID parent = null_node
TreeNodeID left = null_node
TreeNodeID right = null_node
TreeNodeID next_free = null_node
ShapeID shape {}
int height = -1

The documentation for this struct was generated from the following files:
  • engine/src/toast/physics/aabb_tree.hpp
  • engine/src/toast/physics/aabb_tree.cpp