#include "common/wave_ex.h"
#include "kdtree/kdtree.h"
#include "perf/perf.h"
#include <math.h>
#include <iostream>
Go to the source code of this file.
Functions |
static float | getRandom (IN float q) |
static void | getRandomRect (IN const rect3d_t &bounds, IN float size, OUT rect3d_t &r) |
static kdtree::eAction | countCallback (IN void *context, IN kdtree::Entry *e, IN const rect3d_t &r) |
static kdtree::eAction | findCallback (IN void *context, IN kdtree::Entry *e, IN const rect3d_t &r) |
static kdtree::eAction | removeCallback (IN void *context, IN kdtree::Entry *e, IN const rect3d_t &r) |
static smart_ptr< kdtree::Node > | populateTree (IN int nCount, IN int subdivide) |
static void | walkNearToFar (IN const kdtree::Node *node, IN const point3d_t &start, IN const point3d_t &end, IN const point3d_t &n) throw () |
int | main (IN int argc, IN const char *argv[]) |
Variables |
static const float | s_max = 5000.0 |
Function Documentation
static float getRandom |
( |
IN float |
q |
) |
[static] |
static void getRandomRect |
( |
IN const rect3d_t & |
bounds, |
|
|
IN float |
size, |
|
|
OUT rect3d_t & |
r | |
|
) |
| | [static] |
int main |
( |
IN int |
argc, |
|
|
IN const char * |
argv[] | |
|
) |
| | |
Variable Documentation
const float s_max = 5000.0 [static] |