diff options
| author | ladevieq <ladevie.quentin@gmail.com> | 2021-01-21 21:58:02 +0100 |
|---|---|---|
| committer | ladevieq <ladevie.quentin@gmail.com> | 2021-01-21 21:58:02 +0100 |
| commit | b48567d87fd0eac152e387d633ae782aea89cb9e (patch) | |
| tree | a8ee8c83907f1273d2d24a3c0bfc7a9065cabee8 /include/camera.hpp | |
| parent | 142a370cba076a7cf593c7a48b5414e992311a20 (diff) | |
Fix kbd + camera movements
Diffstat (limited to 'include/camera.hpp')
| -rw-r--r-- | include/camera.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/camera.hpp b/include/camera.hpp index fd17947..6adac87 100644 --- a/include/camera.hpp +++ b/include/camera.hpp @@ -16,6 +16,9 @@ class camera { void set_aspect_ratio(float aspect_ratio); + void move(vec3 v); + + point3 position; vec3 forward; |
