Functions | Variables

partition.cpp File Reference

#include <iostream>
#include <fstream>
#include "glut/frustum.h"
#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 dependency graph for partition.cpp:

Go to the source code of this file.

Functions

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

Variables

static int s_drawCount = 0
static float s_max = -1

Function Documentation

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

Definition at line 59 of file partition.cpp.

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

Definition at line 71 of file partition.cpp.

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

Definition at line 84 of file partition.cpp.

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

Definition at line 104 of file partition.cpp.

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

Definition at line 123 of file partition.cpp.

int main ( int  argc,
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.