Tramway SDK
Classes | Functions | Variables
tram::Render::LightTree Namespace Reference

Classes

struct  Light
 

Functions

Octree< Light * > light_tree ("light tree", 200)
 
void AddLight (light_t light, vec3 pos, float dist)
 
void FindLights (vec3 position, light_t *dest)
 
void RemoveLight (light_t light)
 

Variables

Pool< Lightlight_list ("lighttree pool", 200)
 

Function Documentation

◆ AddLight()

void tram::Render::LightTree::AddLight ( light_t  light,
vec3  pos,
float  dist 
)

◆ FindLights()

void tram::Render::LightTree::FindLights ( vec3  position,
light_t dest 
)

◆ light_tree()

Octree< Light * > tram::Render::LightTree::light_tree ( "light tree"  ,
200   
)

◆ RemoveLight()

void tram::Render::LightTree::RemoveLight ( light_t  light)

Variable Documentation

◆ light_list

Pool< Light > tram::Render::LightTree::light_list("lighttree pool", 200) ( "lighttree pool"  ,
200   
)