Showing the changes to interface/src/Camera.cpp (1 of 3 files). Show all
Unified · Split
| @@ -13,23 +13,23 @@ · 12 unmodified lines | ||
| 13 | 13 | |
| 14 | 14 | Camera::Camera() { |
| 15 | 15 | _frustumNeedsReshape = false; |
| 16 | − _mode = CAMERA_MODE_THIRD_PERSON; | |
| 17 | − _tightness = 10.0; // default | |
| 18 | − _fieldOfView = 60.0; // default | |
| 19 | − _nearClip = 0.08; // default | |
| 20 | − _farClip = 50.0 * TREE_SCALE; // default | |
| 16 | + _mode = CAMERA_MODE_THIRD_PERSON; | |
| 17 | + _tightness = 10.0; // default | |
| 18 | + _fieldOfView = 60.0; // default | |
| 19 | + _nearClip = 0.08; // default | |
| 20 | + _farClip = 50.0 * TREE_SCALE; // default | |
| 21 | 21 | _modeShift = 0.0; |
| 22 | − _yaw = 0.0; | |
| 23 | − _pitch = 0.0; | |
| 24 | − _roll = 0.0; | |
| 25 | − _upShift = 0.0; | |
| 26 | − _rightShift = 0.0; | |
| 27 | − _distance = 0.0; | |
| 28 | − _idealYaw = 0.0; | |
| 29 | − _targetPosition = glm::vec3(0.0, 0.0, 0.0); | |
| 30 | − _position = glm::vec3(0.0, 0.0, 0.0); | |
| 31 | − _idealPosition = glm::vec3(0.0, 0.0, 0.0); | |
| 32 | − _orientation.setToIdentity(); | |
| 22 | + _yaw = 0.0; | |
| 23 | + _pitch = 0.0; | |
| 24 | + _roll = 0.0; | |
| 25 | + _upShift = 0.0; | |
| 26 | + _rightShift = 0.0; | |
| 27 | + _distance = 0.0; | |
| 28 | + _idealYaw = 0.0; | |
| 29 | + _targetPosition = glm::vec3(0.0, 0.0, 0.0); | |
| 30 | + _position = glm::vec3(0.0, 0.0, 0.0); | |
| 31 | + _idealPosition = glm::vec3(0.0, 0.0, 0.0); | |
| 32 | + _orientation.setToIdentity(); | |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | 35 | |