Teo-CD
4a5b0f5829
- Can be translated locally or moved to a point in the world - Rotates locally around local x- and z-axis and around global y-axis. Added key checks to test camera movement. Added Quaternions (Inherits from CoordinatesVector<double,4>) with a view to handling the camera orientation. Added equality operators for CoordinatesVectors. Removed slow `glutGet()` calls. Added custom reshape callback as we now store the window parameters to avoid some `glutGet()` calls. Renamed `KeyStateManager` to `InputStatus` as it handles more than key states now. Mouse movement callback now captures the cursor, handles its re-centering and when the cursor enters the window far away from its last position. TODO : Consider limiting rotations for the camera (Prevents flipping the head around) |
||
---|---|---|
.. | ||
DataHandling | ||
Camera.cpp | ||
Camera.h | ||
displayers.cpp | ||
displayers.h | ||
InputStatus.cpp | ||
InputStatus.h | ||
main.cpp | ||
Quaternion.cpp | ||
Quaternion.h | ||
Vectors.h |