TCamera Class Reference
scene camera class. Sets default scene camera, performs basic camera movements, pointing to object etc...
More...
#include <camera.h>
List of all members.
Detailed Description
scene camera class. Sets default scene camera, performs basic camera movements, pointing to object etc...
Member Function Documentation
TMatrix TCamera::LookAt |
( |
GLfloat |
wx, |
|
|
GLfloat |
wy, |
|
|
GLfloat |
wz | |
|
) |
| | |
Look camera at target.
- Parameters:
-
| wx | target X-coordinate |
| wy | target Y-coordinate |
| wz | target Z-coordinate |
- Returns:
- new transformation matrix
TMatrix TCamera::Move |
( |
GLfloat |
wx, |
|
|
GLfloat |
wy, |
|
|
GLfloat |
wz | |
|
) |
| | |
Move camera to new position(relative).
- Parameters:
-
| wx | new X-coordinate |
| wy | new Y-coordinate |
| wz | new Z-coordinate |
- Returns:
- new transformation matrix
TMatrix TCamera::MoveAbs |
( |
GLfloat |
wx, |
|
|
GLfloat |
wy, |
|
|
GLfloat |
wz | |
|
) |
| | |
Move camera to new position(absolute).
- Parameters:
-
| wx | new X-coordinate |
| wy | new Y-coordinate |
| wz | new Z-coordinate |
- Returns:
- new transformation matrix
TMatrix TCamera::Rotate |
( |
GLfloat |
angle, |
|
|
GLint |
axis | |
|
) |
| | |
Rotate camera around axis(relative).
- Parameters:
-
| angle | rotation angle in degrees |
| axis | rotation axis (can be A_X, A_Y, A_Z) |
- Returns:
- new transformation matrix
TMatrix TCamera::RotateAbs |
( |
GLfloat |
angle, |
|
|
GLint |
axis | |
|
) |
| | |
Rotate camera around axis(absolute).
- Parameters:
-
| angle | rotation angle in degrees |
| axis | rotation axis (can be A_X, A_Y, A_Z) |
- Returns:
- new transformation matrix
The documentation for this class was generated from the following files: