◆ MoveForward()
void hpl::cCamera3D::MoveForward |
( |
float |
afDist | ) |
|
Move forward (or back) according to the move mode.
- Parameters
-
◆ MoveRight()
void hpl::cCamera3D::MoveRight |
( |
float |
afDist | ) |
|
Move right (or left) according to the move mode.
- Parameters
-
◆ MoveUp()
void hpl::cCamera3D::MoveUp |
( |
float |
afDist | ) |
|
Move up (or down) according to the move mode.
- Parameters
-
◆ SetInifintiveFarPlane()
void hpl::cCamera3D::SetInifintiveFarPlane |
( |
bool |
abX | ) |
|
|
inline |
This sets the far plane so that no far clipping is made. The FarClipPlane is still used for creating bounding box and frustum and should be set to some value.
◆ SetRotateMode()
void hpl::cCamera3D::SetRotateMode |
( |
eCameraRotateMode |
aMode | ) |
|
Set the mode to calculate the rotation angles. EulerAngles: Yaw, Pitch and Roll are used. Matrix: The matrix is changed directly.
◆ SetMoveMode()
void hpl::cCamera3D::SetMoveMode |
( |
eCameraMoveMode |
aMode | ) |
|
Set the mode to calculate movement. Walk: only moving in the XZ plane Fly: moving in the dir the camera is facing.
◆ ResetRotation()
void hpl::cCamera3D::ResetRotation |
( |
| ) |
|
◆ UnProject()
Unproject the screen coordinate to world space.
◆ SetPitchLimits()
void hpl::cCamera3D::SetPitchLimits |
( |
cVector2f |
avLimits | ) |
|
|
inline |
Set the limits within the pitch can move
- Parameters
-
avLimits | x = high limt and y low.If both are 0 limits are disabled. |
◆ SetYawLimits()
void hpl::cCamera3D::SetYawLimits |
( |
cVector2f |
avLimits | ) |
|
|
inline |
Set the limits within the yaw can move
- Parameters
-
avLimits | x = high limt and y low. If both are 0 limits are disabled. |
The documentation for this class was generated from the following file: