#include <camera.h>
Public Member Functions | |
| Camera () | |
| Creates a new Camera object. | |
| Vec3f | Position () |
| Returns this Camera's position. | |
| Vec3f | View () |
| Write brief comment for View here. | |
| Vec3f | UpVector () |
| Write brief comment for UpVector here. | |
| Vec3f | Strafe () |
| Write brief comment for Strafe here. | |
| void | PositionCamera (double xpos, double ypos, double zpos, double xview, double yview, double zview, double xup, double yup, double zup) |
| Write brief comment for PositionCamera here. | |
| void | PositionCamera (Vec3f pos, Vec3f view, Vec3f up) |
| Write brief comment for PositionCamera here. | |
| void | Camera::RotateView (double angle, Vec3d axis) |
| Write brief comment for RotateView here. | |
| void | RotateView (double angle, double X, double Y, double Z) |
| Write brief comment for RotateView here. | |
| void | SetViewByMouse (Window window) |
| Write brief comment for SetViewByMouse here. | |
| void | StrafeCamera (double speed) |
| Write brief comment for StrafeCamera here. | |
| void | MoveCamera (double speed) |
| Write brief comment for MoveCamera here. | |
| void | Update () |
| Write brief comment for Update here. | |
| void | Look () |
| Write brief comment for Look here. | |
| void | RotateHorizontal (float angle) |
| Write brief comment for RotateHorizontal here. | |
| void | RotateVertical (float angle) |
| Write brief comment for RotateVertical here. | |
Private Member Functions | |
| Vec3f | GetUpVector () |
| Write brief comment for GetUpVector here. | |
| Vec3f | GetRightVector () |
| Write brief comment for GetRightVector here. | |
| Vec3f | GetForwardVector () |
| Write brief comment for GetForwardVector here. | |
Private Attributes | |
| Vec3f | m_vPosition |
| Vec3f | m_vView |
| Vec3f | m_vUpVector |
| Vec3f | m_vStrafe |
Write detailed description for Camera here.
| OpenArena::Camera::Camera | ( | ) |
| void OpenArena::Camera::Camera::RotateView | ( | double | angle, | |
| Vec3d | axis | |||
| ) |
Write brief comment for RotateView here.
| angle | Description of parameter angle. | |
| axis | Description of parameter axis. |
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::GetForwardVector | ( | ) | [private] |
Write brief comment for GetForwardVector here.
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::GetRightVector | ( | ) | [private] |
Write brief comment for GetRightVector here.
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::GetUpVector | ( | ) | [private] |
Write brief comment for GetUpVector here.
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::Look | ( | ) |
Write brief comment for Look here.
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::MoveCamera | ( | double | speed | ) |
Write brief comment for MoveCamera here.
| speed | Description of parameter speed. |
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::Position | ( | ) |
Returns this Camera's position.
Write brief comment for PositionCamera here.
| pos | Description of parameter pos. | |
| view | Description of parameter view. | |
| up | Description of parameter up. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::PositionCamera | ( | double | xpos, | |
| double | ypos, | |||
| double | zpos, | |||
| double | xview, | |||
| double | yview, | |||
| double | zview, | |||
| double | xup, | |||
| double | yup, | |||
| double | zup | |||
| ) |
Write brief comment for PositionCamera here.
| xpos | Description of parameter xpos. | |
| ypos | Description of parameter ypos. | |
| zpos | Description of parameter zpos. | |
| xview | Description of parameter xview. | |
| yview | Description of parameter yview. | |
| zview | Description of parameter zview. | |
| xup | Description of parameter xup. | |
| yup | Description of parameter yup. | |
| zup | Description of parameter zup. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::RotateHorizontal | ( | float | angle | ) |
Write brief comment for RotateHorizontal here.
| angle | Description of parameter angle. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::RotateVertical | ( | float | angle | ) |
Write brief comment for RotateVertical here.
| angle | Description of parameter angle. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::RotateView | ( | double | angle, | |
| double | X, | |||
| double | Y, | |||
| double | Z | |||
| ) |
Write brief comment for RotateView here.
| angle | Description of parameter angle. | |
| X | Description of parameter X. | |
| Y | Description of parameter Y. | |
| Z | Description of parameter Z. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::SetViewByMouse | ( | Window | window | ) |
Write brief comment for SetViewByMouse here.
| window | Description of parameter window. |
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::Strafe | ( | ) |
Write brief comment for Strafe here.
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::StrafeCamera | ( | double | speed | ) |
Write brief comment for StrafeCamera here.
| speed | Description of parameter speed. |
| <exception | class> Description of criteria for throwing this exception. |
| void OpenArena::Camera::Update | ( | ) |
Write brief comment for Update here.
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::UpVector | ( | ) |
Write brief comment for UpVector here.
| <exception | class> Description of criteria for throwing this exception. |
| Vec3f OpenArena::Camera::View | ( | ) |
Write brief comment for View here.
| <exception | class> Description of criteria for throwing this exception. |
Vec3f OpenArena::Camera::m_vPosition [private] |
Vec3f OpenArena::Camera::m_vStrafe [private] |
Vec3f OpenArena::Camera::m_vUpVector [private] |
Vec3f OpenArena::Camera::m_vView [private] |
1.4.7