CMacrosGL.h File Reference

#include "CVector3d.h"
#include "CMatrix3d.h"
#include <GL/gl.h>

Classes

struct  cMatrixGL
 CHAI describes rotations using 3x3 rotation matrices (cMatrix3d) and 3D vectors (cVector3d) to express position or translation. On the OpenGL side 4x4 matrices are required to perform all geometrical transformations. cMatrixGL provides a structure which encapsulates all the necessary functionality to generate 4x4 OpenGL transformation matrices from 3D position vectors and rotation matrices. More...

Functions

void cLookAt (const cVector3d &a_eye, const cVector3d &a_at, const cVector3d &a_up)
 Align the current -z axis with a reference frame; a la gluLookAt.

Detailed Description


Generated on Mon Jun 11 09:41:46 2007 for CHAI 3D by  doxygen 1.5.2