Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxAABBTreeNode Struct Reference

#include <AABBTree.h>

+ Collaboration diagram for FxAABBTreeNode:

Public Member Functions

bool is_leaf () const
 

Public Attributes

FxAABB fat_aabb
 
FxAABB tight_aabb
 
int32_t parent = -1
 
int32_t left = -1
 
int32_t right = -1
 
int32_t entity_id = -1
 
int32_t next_free = -1
 

Detailed Description

Definition at line 14 of file AABBTree.h.

Member Function Documentation

◆ is_leaf()

bool FxAABBTreeNode::is_leaf ( ) const
inline

Definition at line 23 of file AABBTree.h.

Member Data Documentation

◆ entity_id

int32_t FxAABBTreeNode::entity_id = -1

Definition at line 20 of file AABBTree.h.

◆ fat_aabb

FxAABB FxAABBTreeNode::fat_aabb

Definition at line 15 of file AABBTree.h.

◆ left

int32_t FxAABBTreeNode::left = -1

Definition at line 18 of file AABBTree.h.

◆ next_free

int32_t FxAABBTreeNode::next_free = -1

Definition at line 21 of file AABBTree.h.

◆ parent

int32_t FxAABBTreeNode::parent = -1

Definition at line 17 of file AABBTree.h.

◆ right

int32_t FxAABBTreeNode::right = -1

Definition at line 19 of file AABBTree.h.

◆ tight_aabb

FxAABB FxAABBTreeNode::tight_aabb

Definition at line 16 of file AABBTree.h.


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