camera class implementing simple camera movement More...
#include <camera.h>
Public Member Functions | |
| camera () | |
| camera (const vec3 &pos, const vec3 &up, const vec3 &dir) | |
| void | changeDir (vec3 dir) |
| void | newDelYaw (float angle_in_deg) |
| void | DelRoll (float angle_in_deg) |
| void | DelYaw (float angle_in_deg) |
| void | DelPitch (float angle_in_deg) |
| vec3 | getUp () const |
| vec3 | getViewDir () const |
Public Attributes | |
| vec3 | viewDir |
| vec3 | up |
| float | pitchAngle |
| vec3 | eye |
| float | nearPoint {-1} |
| float | farPoint {-10} |
| float | FOV {90} |
| float | sensitivity = 0.000005 |
| float | speed = 0.00001 |
Private Member Functions | |
| void | checkCorrectness () |
| void | correct () |