Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

/util/glUtil.cpp File Reference

#include "glUtil.h"
#include <math.h>

Include dependency graph for glUtil.cpp:

Include dependency graph

Functions

recColor getColor (GLfloat v, GLfloat vmin, GLfloat vmax, int type)
 Given min/max values, get a color from a color schema.

void drawPyramid (GLfloat x, GLfloat y, GLfloat z, GLfloat height, GLfloat width)
 Draw a pyramid with the tip at the given location, given height, and width from center to edge as width.

void drawBox (GLfloat xx, GLfloat yy, GLfloat zz, GLfloat rad)

Function Documentation

void drawBox GLfloat  xx,
GLfloat  yy,
GLfloat  zz,
GLfloat  rad
 

void drawPyramid GLfloat  x,
GLfloat  y,
GLfloat  z,
GLfloat  height,
GLfloat  width
 

Draw a pyramid with the tip at the given location, given height, and width from center to edge as width.

recColor getColor GLfloat  v,
GLfloat  vmin,
GLfloat  vmax,
int  type
 

Given min/max values, get a color from a color schema.


Generated on Tue Aug 18 03:40:54 2009 for HOG by doxygen 1.3.4