vkmEngine 1.0.0
A C++ game engine · vkmengine.com
Loading...
Searching...
No Matches
Vkm::Engine::MeshNode Struct Reference

One node of a triangle mesh's bounding hierarchy. More...

#include <collider.h>

Public Attributes

uint32_t firstTriangle = 0
 Leaf: first triangle; interior: unused.
uint32_t triangleCount = 0
 0 marks an interior node
uint32_t rightChild = 0
 Interior: the far child; left is this + 1.

Detailed Description

One node of a triangle mesh's bounding hierarchy.

A leaf names a run of triangles; an interior node names its right child, its left is next.


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