Tramway SDK
Classes | Namespaces | Typedefs | Enumerations | Functions
aabb.h File Reference
#include <framework/math.h>
#include <render/model.h>

Go to the source code of this file.

Classes

struct  tram::Render::AABB::QueryResponse
 

Namespaces

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

Typedefs

typedef void * tram::Render::aabbleaf_t
 

Enumerations

enum  tram::Render::AABB::ReferenceType : uint32_t { tram::Render::AABB::REFERENCE_RENDERCOMPONENT = 1 }
 

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 ()
 
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)