Euphoria
|
#include <orbitcontroller.h>
Public Member Functions | |
OrbitController () | |
void | on_pan_input (float dx, float dy) |
void | on_rotate_input (float dx, float dy) |
void | on_zoom_input (float z) |
quatf | get_rotation () const |
vec3f | get_camera_position () const |
Public Attributes | |
vec3f | center |
Angle | horizontal_rotation |
Angle | vertical_rotation |
float | distance = 10.0f |
Sensitivity | pan_dx |
Sensitivity | pan_dy |
Sensitivity | rotate_dx |
Sensitivity | rotate_dy |
Sensitivity | zoom |
Detailed Description
Definition at line 10 of file orbitcontroller.h.
Constructor & Destructor Documentation
◆ OrbitController()
eu::core::OrbitController::OrbitController | ( | ) |
Definition at line 7 of file orbitcontroller.cc.
Member Function Documentation
◆ get_camera_position()
vec3f eu::core::OrbitController::get_camera_position | ( | ) | const |
Definition at line 78 of file orbitcontroller.cc.
◆ get_rotation()
quatf eu::core::OrbitController::get_rotation | ( | ) | const |
Definition at line 15 of file orbitcontroller.cc.
◆ on_pan_input()
void eu::core::OrbitController::on_pan_input | ( | float | dx, |
float | dy | ||
) |
Definition at line 40 of file orbitcontroller.cc.
◆ on_rotate_input()
void eu::core::OrbitController::on_rotate_input | ( | float | dx, |
float | dy | ||
) |
Definition at line 53 of file orbitcontroller.cc.
◆ on_zoom_input()
void eu::core::OrbitController::on_zoom_input | ( | float | z | ) |
Definition at line 71 of file orbitcontroller.cc.
Member Data Documentation
◆ center
vec3f eu::core::OrbitController::center |
Definition at line 12 of file orbitcontroller.h.
◆ distance
float eu::core::OrbitController::distance = 10.0f |
Definition at line 15 of file orbitcontroller.h.
◆ horizontal_rotation
Angle eu::core::OrbitController::horizontal_rotation |
Definition at line 13 of file orbitcontroller.h.
◆ pan_dx
Sensitivity eu::core::OrbitController::pan_dx |
Definition at line 16 of file orbitcontroller.h.
◆ pan_dy
Sensitivity eu::core::OrbitController::pan_dy |
Definition at line 17 of file orbitcontroller.h.
◆ rotate_dx
Sensitivity eu::core::OrbitController::rotate_dx |
Definition at line 18 of file orbitcontroller.h.
◆ rotate_dy
Sensitivity eu::core::OrbitController::rotate_dy |
Definition at line 19 of file orbitcontroller.h.
◆ vertical_rotation
Angle eu::core::OrbitController::vertical_rotation |
Definition at line 14 of file orbitcontroller.h.
◆ zoom
Sensitivity eu::core::OrbitController::zoom |
Definition at line 20 of file orbitcontroller.h.
The documentation for this struct was generated from the following files:
- libs/core/src/core/orbitcontroller.h
- libs/core/src/core/orbitcontroller.cc