#include <Camera.h>
Public Member Functions | |
| void | set_camera_distance (float xdist, float ydist, float zdist) |
| void | set_camera_angle (float xangle, float yangle, float zangle) |
| void | camera_follow (const Model_3D *target) |
| void | camera_angle_follow (const Model_3D *target) |
| void | camera_alignment_functions (float(*func_xpos)(float), float(*func_ypos)(float), float(*func_zpos)(float), float(*func_xrot)(float), float(*func_yrot)(float), float(*func_zrot)(float), float movement_time, bool continuation_mode) |
| void | rotate_around_origin (bool flag) |
| void | specify_rotation (float time_full_x_rotation, float time_full_y_rotation, float time_full_z_rotation) |
| cam | get_camera_values () const |
| void | update_view () |
|
||||||||||||||||||||||||||||||||||||
|
callback functions can be used to define camera x,y,z - translations and rotation angles for x,y,z axis the time for a full cycle needs to be specified a boolean flag that defines if the movement of the camera should be reversed at the end of a cycle or start over at the beginning needs also to be passed over to the function |
|
|
camera angle will follow to target model |
|
|
locks the camera translation to a model |
|
|
returns the camera values as a cam structure |
|
|
the camera will rotate around the origin, if the camera's translation is locked to a model, the camera will rotate around the object |
|
||||||||||||||||
|
sets the camera's x,y,z - angles |
|
||||||||||||||||
|
sets the camera's distance from the point of interest |
|
||||||||||||||||
|
defines the time it will take the camera to finish a full circulation |
|
|
performs the update of the viewing matrix in opengl depending on the camera values set with the corresponding functions |
1.4.6-NO