List of all members.
Constructor & Destructor Documentation
Constructor
- Parameters:
-
view_distance | initial view distance from the origin |
window_title | title of the current window |
Member Function Documentation
Calculates the current framerate, updates the window title and swaps framebuffers to display the new image
Increment viewing orientation of the camera
- Parameters:
-
angle_dX | angle relative to the x-axis |
angle_dY | angle relative to the rotated y-axis |
User drags our object. Transform screen coordinates into world coordinates and update the objects position
Set the camera via gluLookAt and set the light position afterwards
User starts dragging. Remember the old mouse coordinates.
Zoom in
- Parameters:
-
scaleFactor | factor which is used for zooming |
Zoom out
- Parameters:
-
scaleFactor | factor which is used for zooming |
The documentation for this class was generated from the following files:
- /import/home/rettenbs/src/SWE/src/opengl/camera.h
- /import/home/rettenbs/src/SWE/src/opengl/camera.cpp