|
My Project
|
#include "scene/camera.h"

Public Member Functions | |
| Camera () | |
| Camera (GVector position, GVector direction) | |
| void | rotateHorizontalSphere (double angle) |
| void | rotateVerticalSphere (double angle) |
| GMatrix | cameraview () |
Public Attributes | |
| GVector | position |
| GVector | target |
| Camera::Camera | ( | ) |
Emty constructor. No action.
Definition at line 7 of file camera.cpp.
Constructor. Settin samera with it's position and target look
Definition at line 11 of file camera.cpp.
| GMatrix Camera::cameraview | ( | ) |
Returns View matrix which displays object depends ot camera position Change global coordinate system to camera CS
| [in] | view | matrix |
Definition at line 52 of file camera.cpp.


| void Camera::rotateHorizontalSphere | ( | double | angle | ) |
Rotate camera around target point in horizontal surface
| [in] | angle | Rotation angle |
Definition at line 34 of file camera.cpp.


| void Camera::rotateVerticalSphere | ( | double | angle | ) |
Rotate camera around target point in vertical surface
| [in] | angle | Rotation angle |
Definition at line 43 of file camera.cpp.


1.8.12