#include <iostream>
#include <fstream>
#include "glut/texture.h"
#include "glut-demo/glut-demo.h"
#include "opengl-effects/opengl-effects.h"
#include "perf/perf.h"
Go to the source code of this file.
Functions | |
static float | deltaX (float dx) throw () |
static void | addRandomDelta (point3d_t &p, float f) throw () |
static void | getPoint (int idx, int nPoints, float rho, float phi, point3d_t &p) throw () |
int | main (int argc, const char *argv[]) |
Variables | |
static const int | s_nSegments = 3 |
static const int | s_nPoints = s_nSegments + 1 |
static float deltaX | ( | float | dx | ) | throw () [static] |
Definition at line 33 of file test/light-path.cpp.
static void addRandomDelta | ( | point3d_t & | p, | |
float | f | |||
) | throw () [static] |
Definition at line 46 of file test/light-path.cpp.
static void getPoint | ( | int | idx, | |
int | nPoints, | |||
float | rho, | |||
float | phi, | |||
point3d_t & | p | |||
) | throw () [static] |
Definition at line 61 of file test/light-path.cpp.
int main | ( | int | argc, | |
const char * | argv[] | |||
) |
Definition at line 164 of file test/light-path.cpp.
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.