Functions | Variables

test/light-path.cpp File Reference

#include <iostream>
#include <fstream>
#include "glut-demo/glut-demo.h"
#include "opengl-effects/opengl-effects.h"
#include "perf/perf.h"
#include "wave-glut/texture.h"
Include dependency graph for test/light-path.cpp:

Go to the source code of this file.

Functions

static float deltaX (IN float dx) throw ()
static void addRandomDelta (IO point3d_t &p, IN float f) throw ()
static void getPoint (IN int idx, IN int nPoints, IN float rho, IN float phi, OUT point3d_t &p) throw ()
int main (IN int argc, IN const char *argv[])

Variables

static const int s_nSegments = 3
static const int s_nPoints = s_nSegments + 1

Function Documentation

static float deltaX ( IN float  dx  )  throw () [static]

Definition at line 33 of file test/light-path.cpp.

static void addRandomDelta ( IO point3d_t &  p,
IN float  f 
) throw () [static]

Definition at line 46 of file test/light-path.cpp.

static void getPoint ( IN int  idx,
IN int  nPoints,
IN float  rho,
IN float  phi,
OUT point3d_t &  p 
) throw () [static]

Definition at line 61 of file test/light-path.cpp.

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

Definition at line 164 of file test/light-path.cpp.


Variable Documentation

const int s_nSegments = 3 [static]

Definition at line 21 of file test/light-path.cpp.

const int s_nPoints = s_nSegments + 1 [static]

Definition at line 22 of file test/light-path.cpp.