D:/CHAI3D/build-2-0-0/2.0.0/win32/src/graphics/CMacrosGL.h File Reference

Graphics
OpenGL Macros. More...

#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.


Detailed Description

Graphics
OpenGL Macros.


Function Documentation

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.

Parameters:
a_eye Position of eye.
a_at Lookat position.
a_up Up direction.



CHAI3D 2.0.0 documentation
Please address any questions to support@chai3d.org
(C) 2003-2009 - CHAI 3D
All Rights Reserved.