Namespaces | Typedefs | Functions | Variables

map-kdtree.cpp File Reference

#include "map-kdtree.h"
#include "glut/frustum.h"
#include "glut/renderable.h"
#include "model-loader/model-loader.h"
#include "perf/perf.h"
#include "util/free_list.h"
Include dependency graph for map-kdtree.cpp:

Go to the source code of this file.

Namespaces

namespace  aesop

Typedefs

typedef free_list_t
< kdtree::Node::dynamic_entry_t
aesop::free_type_t

Functions

static void aesop::determineZone (kdtree::Node *node, Zone *root)
static void aesop::deletePointers (kdtree::Node *node) throw ()
static void aesop::deleteAllEntries (kdtree::Node *node) throw ()
static void aesop::walkTree (kdtree::Node *node, int depth, kdtree_callback_fn callback, void *context)
static int aesop::compareEntries (const void *p1, const void *p2) throw ()
static void aesop::walkFrontToBack (kdtree::Node *node, free_type_t &freeList, const glut::render_context_t &rc, glut::RenderQueue *rq, const frustum_t *f, LeafZone *viewerZone, kdtree_object_fn callback, void *context)
static void aesop::addInstanceToNode (smart_ptr< Instance > &instance, LeafZone *lz, kdtree::Node *node)
static void aesop::addDynamicObject (smart_ptr< Instance > &instance, smart_ptr< PhysicsObject > &obj, void *context)
static void aesop::nukeAllDynamicEntries (kdtree::Node *node, free_type_t &freeList)

Variables

static const int aesop::s_maxFreeListSize = 256