OpenGL-JIN/src
Teo-CD 4a5b0f5829 Added camera!
- 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)
2019-10-28 23:45:44 +01:00
..
DataHandling Fixed useless copying of vectors during model.draw(), now references. 2019-10-19 04:24:08 +02:00
Camera.cpp Added camera! 2019-10-28 23:45:44 +01:00
Camera.h Added camera! 2019-10-28 23:45:44 +01:00
displayers.cpp Added loading of a TGA mask image to generate alpha canal 2019-09-25 13:02:24 +02:00
displayers.h Loading of a OFF ASCII file 2019-09-30 16:55:45 +02:00
InputStatus.cpp Added camera! 2019-10-28 23:45:44 +01:00
InputStatus.h Added camera! 2019-10-28 23:45:44 +01:00
main.cpp Added camera! 2019-10-28 23:45:44 +01:00
Quaternion.cpp Added camera! 2019-10-28 23:45:44 +01:00
Quaternion.h Added camera! 2019-10-28 23:45:44 +01:00
Vectors.h Added camera! 2019-10-28 23:45:44 +01:00