Tramway SDK
Public Attributes | List of all members
tram::Octree< T >::NearestSearch Struct Reference

#include <octree.h>

Public Attributes

Nodenearest [4] = {nullptr, nullptr, nullptr, nullptr}
 
float distance [4] = {INFINITY, INFINITY, INFINITY, INFINITY}
 
int farthest_index = 0
 
float farthest_distance = -INFINITY
 
vec3 point
 
int found = 0
 

Member Data Documentation

◆ distance

template<typename T >
float tram::Octree< T >::NearestSearch::distance[4] = {INFINITY, INFINITY, INFINITY, INFINITY}

◆ farthest_distance

template<typename T >
float tram::Octree< T >::NearestSearch::farthest_distance = -INFINITY

◆ farthest_index

template<typename T >
int tram::Octree< T >::NearestSearch::farthest_index = 0

◆ found

template<typename T >
int tram::Octree< T >::NearestSearch::found = 0

◆ nearest

template<typename T >
Node* tram::Octree< T >::NearestSearch::nearest[4] = {nullptr, nullptr, nullptr, nullptr}

◆ point

template<typename T >
vec3 tram::Octree< T >::NearestSearch::point

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