Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::CKDTree3f::SKDNode Struct Reference

Node stored in the KD-tree. More...

#include <Utils/CKDTree3f.h>

Public Attributes

float Pos [3]
 Position of the node in 3D space.
void * Data
 User payload associated with the node.
int Dir
 Split axis used by this node: 0 = X, 1 = Y, 2 = Z.
SKDNodeLeft
 Child with smaller coordinate on Dir.
SKDNodeRight
 Child with greater or equal coordinate on Dir.

Detailed Description

Node stored in the KD-tree.


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