Showing the changes to interface/src/Camera.cpp (1 of 11 files). Show all
Unified · Split
| @@ -0,0 +1,19 @@ | ||
| 1 | +//----------------------------------------------------------- | |
| 2 | +// | |
| 3 | +// Created by Jeffrey Ventrella and added as a utility | |
| 4 | +// class for High Fidelity Code base, April 2013 | |
| 5 | +// | |
| 6 | +//----------------------------------------------------------- | |
| 7 | + | |
| 8 | +#include "Camera.h" | |
| 9 | + | |
| 10 | +//------------------------ | |
| 11 | +Camera::Camera() | |
| 12 | +{ | |
| 13 | + yaw = 0.0; | |
| 14 | + pitch = 0.0; | |
| 15 | + roll = 0.0; | |
| 16 | + position = glm::dvec3( 0.0, 0.0, 0.0 ); | |
| 17 | + orientation.setToIdentity(); | |
| 18 | +} | |
| 19 | + | |