#include "math/CMaths.h"
#include "extras/CGlobals.h"
Go to the source code of this file.
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 geometric 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; à la gluLookAt. |
Align the current -z axis with a reference frame; à la gluLookAt.
Align the current -z axis with a reference frame; à la gluLookAt.
a_eye | Position of eye. | |
a_at | Lookat position. | |
a_up | Up direction. |