#include <aabb.h>
|
Node * | root = new Node {nullptr, nullptr, nullptr, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}} |
|
◆ AABBTree()
tram::AABBTree::AABBTree |
( |
| ) |
|
|
inline |
◆ ~AABBTree()
tram::AABBTree::~AABBTree |
( |
| ) |
|
|
inline |
◆ AABBIntersect()
static bool tram::AABBTree::AABBIntersect |
( |
vec3 |
ray_pos, |
|
|
vec3 |
ray_dir, |
|
|
vec3 |
min, |
|
|
vec3 |
max |
|
) |
| |
|
inlinestatic |
◆ AABBSurface()
static float tram::AABBTree::AABBSurface |
( |
vec3 |
min, |
|
|
vec3 |
max |
|
) |
| |
|
inlinestatic |
◆ AABBVolume()
static float tram::AABBTree::AABBVolume |
( |
vec3 |
min, |
|
|
vec3 |
max |
|
) |
| |
|
inlinestatic |
◆ FindIntersection()
void tram::AABBTree::FindIntersection |
( |
vec3 |
ray_pos, |
|
|
vec3 |
ray_dir, |
|
|
Node * |
node, |
|
|
std::vector< uint32_t > & |
result |
|
) |
| |
|
inline |
◆ FindSibling()
◆ GetAABBMax()
vec3 tram::AABBTree::GetAABBMax |
( |
| ) |
|
|
inline |
◆ GetAABBMin()
vec3 tram::AABBTree::GetAABBMin |
( |
| ) |
|
|
inline |
◆ InsertLeaf()
Node * tram::AABBTree::InsertLeaf |
( |
uint32_t |
value, |
|
|
vec3 |
min, |
|
|
vec3 |
max |
|
) |
| |
|
inline |
◆ MergeAABBMax()
◆ MergeAABBMin()
◆ RemoveHierarchy()
void tram::AABBTree::RemoveHierarchy |
( |
Node * |
node | ) |
|
|
inline |
◆ RemoveLeaf()
void tram::AABBTree::RemoveLeaf |
( |
Node * |
node | ) |
|
|
inline |
◆ UpdateParentAABB()
void tram::AABBTree::UpdateParentAABB |
( |
Node * |
node | ) |
|
|
inline |
◆ ValidateTree() [1/2]
void tram::AABBTree::ValidateTree |
( |
Node * |
node | ) |
|
|
inline |
◆ ValidateTree() [2/2]
void tram::AABBTree::ValidateTree |
( |
Node * |
node, |
|
|
size_t |
num |
|
) |
| |
|
inline |
◆ root
Node* tram::AABBTree::root = new Node {nullptr, nullptr, nullptr, {0.0f, 0.0f, 0.0f}, {0.0f, 0.0f, 0.0f}} |
The documentation for this class was generated from the following file:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/templates/aabb.h