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

Variables

static const int aesop::s_maxFreeListSize = 256