ES3D::Camerax Class Reference

#include <Camerax.h>

List of all members.

Public Member Functions

 Camerax ()
virtual ~Camerax ()
GLvoid getPositionx (FixedPointx pos[3])
GLvoid getRotationx (FixedPointx rot[3])
GLvoid setPositionx (FixedPointx x, FixedPointx y, FixedPointx z)
GLvoid setRotationx (FixedPointx anglex, FixedPointx angley, FixedPointx anglez)
GLvoid lookAtx (FixedPointx centerx, FixedPointx centery, FixedPointx centerz, FixedPointx anglez)
GLvoid activatex (GLvoid)


Detailed Description

Camera with basic features.


Constructor & Destructor Documentation

ES3D::Camerax::Camerax (  ) 

Constructor

ES3D::Camerax::~Camerax (  )  [virtual]

Destructor


Member Function Documentation

GLvoid ES3D::Camerax::activatex ( GLvoid   ) 

Activates this camera. Has to be called before any rendering.

GLvoid ES3D::Camerax::getPositionx ( FixedPointx  pos[3]  ) 

Retrives the current position of this camera.

Parameters:
pos the array to store the current position

GLvoid ES3D::Camerax::getRotationx ( FixedPointx  rot[3]  ) 

Retrives the current rotation of this camera.

Parameters:
rot the array to store the current rotation

GLvoid ES3D::Camerax::lookAtx ( FixedPointx  centerx,
FixedPointx  centery,
FixedPointx  centerz,
FixedPointx  anglez 
)

Rotates the camera to look at the center from the current position.

Parameters:
centerx x coordiante of the point to look at
centery y coordiante of the point to look at
centerz z coordiante of the point to look at
anglez z rotation of the camers

GLvoid ES3D::Camerax::setPositionx ( FixedPointx  x,
FixedPointx  y,
FixedPointx  z 
)

Sets the position of the camera.

Parameters:
x the x coordiante
y the y coordiante
z the z coordiante

GLvoid ES3D::Camerax::setRotationx ( FixedPointx  anglex,
FixedPointx  angley,
FixedPointx  anglez 
)

Sets the position of the camera.

Parameters:
anglex the x angle
angley the y angle
anglez the z angle


The documentation for this class was generated from the following files:
Generated on Sat May 10 16:30:55 2008 for ES 3D Game SDK Documentation by  doxygen 1.4.7