Tramway SDK
Classes | Namespaces | Functions | Variables
aabb.cpp File Reference
#include <render/aabb.h>
#include <components/render.h>
#include <render/model.h>
#include <templates/pool.h>
#include <templates/aabb.h>
#include <templates/octree.h>

Classes

struct  tram::Render::AABB::AABBLeaf
 
struct  tram::Render::LightTree::Light
 

Namespaces

namespace  tram
 
namespace  tram::Render
 
namespace  tram::Render::AABB
 
namespace  tram::Render::LightTree
 

Functions

aabbleaf_t tram::Render::AABB::InsertLeaf (RenderComponent *component, vec3 position, quat rotation)
 
void tram::Render::AABB::RemoveLeaf (aabbleaf_t leaf_id)
 
QueryResponse tram::Render::AABB::FindNearestFromRay (vec3 ray_pos, vec3 ray_dir, uint32_t mask)
 
void tram::Render::AABB::DebugDrawTree ()
 
Octree< Light * > tram::Render::LightTree::light_tree ("light tree", 200)
 
void tram::Render::LightTree::AddLight (light_t light, vec3 pos, float dist)
 
void tram::Render::LightTree::FindLights (vec3 position, light_t *dest)
 
void tram::Render::LightTree::RemoveLight (light_t light)
 

Variables

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