Euphoria
orbitcontroller.h
Go to the documentation of this file.
1 #pragma once
2 
3 
4 #include "base/vec3.h"
5 #include "base/quat.h"
6 #include "core/sensitivity.h"
7 
8 namespace eu::core
9 {
11  {
15  float distance = 10.0f;
21 
23 
24  void on_pan_input(float dx, float dy);
25  void on_rotate_input(float dx, float dy);
26  void on_zoom_input(float z);
27 
28  [[nodiscard]] quatf get_rotation() const;
29  [[nodiscard]] vec3f get_camera_position() const;
30  };
31 }
32 
void on_pan_input(float dx, float dy)
vec3f get_camera_position() const
void on_rotate_input(float dx, float dy)
Definition: quat.h:15
Definition: vec3.h:48