Functions | Variables

test-dynamic.cpp File Reference

#include "common/wave_ex.h"
#include "kdtree/kdtree.h"
#include "perf/perf.h"
#include <iostream>
Include dependency graph for test-dynamic.cpp:

Go to the source code of this file.

Functions

static float getRandom (float q)
static void getRandomRect (const rect3d_t &bounds, float size, rect3d_t &r)
static kdtree::eAction countCallback (void *context, kdtree::Entry *e, const rect3d_t &r)
static kdtree::eAction findCallback (void *context, kdtree::Entry *e, const rect3d_t &r)
static kdtree::eAction removeCallback (void *context, kdtree::Entry *e, const rect3d_t &r)
static int popAllDynamicEntries (kdtree::Node *node)
static void doTest1 (int nCount, int subdivide)
int main (int argc, const char *argv[])

Variables

static const float s_max = 5000.0

Function Documentation

static float getRandom ( float  q  )  [static]

Definition at line 36 of file test-dynamic.cpp.

static void getRandomRect ( const rect3d_t bounds,
float  size,
rect3d_t r 
) [static]

Definition at line 49 of file test-dynamic.cpp.

static kdtree::eAction countCallback ( void *  context,
kdtree::Entry e,
const rect3d_t r 
) [static]

Definition at line 70 of file test-dynamic.cpp.

static kdtree::eAction findCallback ( void *  context,
kdtree::Entry e,
const rect3d_t r 
) [static]

Definition at line 108 of file test-dynamic.cpp.

static kdtree::eAction removeCallback ( void *  context,
kdtree::Entry e,
const rect3d_t r 
) [static]

Definition at line 127 of file test-dynamic.cpp.

static int popAllDynamicEntries ( kdtree::Node node  )  [static]

Definition at line 147 of file test-dynamic.cpp.

static void doTest1 ( int  nCount,
int  subdivide 
) [static]

Definition at line 175 of file test-dynamic.cpp.

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

Definition at line 285 of file test-dynamic.cpp.


Variable Documentation

const float s_max = 5000.0 [static]

Definition at line 19 of file test-dynamic.cpp.