Functions | Variables

partition.cpp File Reference

#include <iostream>
#include <fstream>
#include "glut-demo/glut-demo.h"
#include "glut-model/glut-model.h"
#include "kdtree/kdtree.h"
#include "nstream/nstream.h"
#include "perf/perf.h"
#include "util/file.h"
#include "wave-glut/frustum.h"
Include dependency graph for partition.cpp:

Go to the source code of this file.

Functions

static float getRandom (IN float M) throw ()
static float getRandom2 (IN float M) throw ()
static point3d_t getRandomPosition (IN const rect3d_t &base) throw ()
static void drawRect (IN const rect3d_t &r) throw ()
static void walkFrontToBack (IN const kdtree::Node *node, IN const glut::render_context_t &rc, IN glut::RenderQueue *rq, IN const frustum_t &frustum, IN glut::Renderable *model) throw ()
int main (IN int argc, IN const char *argv[])

Variables

static int s_drawCount = 0
static float s_max = -1

Function Documentation

static float getRandom ( IN float  M  )  throw () [static]

Definition at line 59 of file partition.cpp.

static float getRandom2 ( IN float  M  )  throw () [static]

Definition at line 71 of file partition.cpp.

static point3d_t getRandomPosition ( IN const rect3d_t &  base  )  throw () [static]

Definition at line 84 of file partition.cpp.

static void drawRect ( IN const rect3d_t &  r  )  throw () [static]

Definition at line 104 of file partition.cpp.

static void walkFrontToBack ( IN const kdtree::Node *  node,
IN const glut::render_context_t rc,
IN glut::RenderQueue rq,
IN const frustum_t &  frustum,
IN glut::Renderable model 
) throw () [static]

Definition at line 123 of file partition.cpp.

int main ( IN int  argc,
IN const char *  argv[] 
)

Definition at line 296 of file partition.cpp.


Variable Documentation

int s_drawCount = 0 [static]

Definition at line 27 of file partition.cpp.

float s_max = -1 [static]

Definition at line 28 of file partition.cpp.