From b48567d87fd0eac152e387d633ae782aea89cb9e Mon Sep 17 00:00:00 2001 From: ladevieq Date: Thu, 21 Jan 2021 21:58:02 +0100 Subject: Fix kbd + camera movements --- include/camera.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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; -- cgit v1.3