Tramway SDK
Classes | Enumerations | Functions
tram::Render::AABB Namespace Reference

Classes

struct  AABBLeaf
 
struct  QueryResponse
 

Enumerations

enum  ReferenceType : uint32_t { REFERENCE_RENDERCOMPONENT = 1 }
 

Functions

aabbleaf_t InsertLeaf (RenderComponent *component, vec3 position, quat rotation)
 
void RemoveLeaf (aabbleaf_t leaf_id)
 
QueryResponse FindNearestFromRay (vec3 ray_pos, vec3 ray_dir, uint32_t mask)
 
void DebugDrawTree ()
 

Enumeration Type Documentation

◆ ReferenceType

Enumerator
REFERENCE_RENDERCOMPONENT 

Function Documentation

◆ DebugDrawTree()

void tram::Render::AABB::DebugDrawTree ( )

◆ FindNearestFromRay()

QueryResponse tram::Render::AABB::FindNearestFromRay ( vec3  ray_pos,
vec3  ray_dir,
uint32_t  mask 
)

◆ InsertLeaf()

aabbleaf_t tram::Render::AABB::InsertLeaf ( RenderComponent component,
vec3  position,
quat  rotation 
)

◆ RemoveLeaf()

void tram::Render::AABB::RemoveLeaf ( aabbleaf_t  leaf_id)