From 23e6a58d59b7a11cb8bdb7aa61d3c534c02027e7 Mon Sep 17 00:00:00 2001 From: ladevieq Date: Mon, 11 Jul 2022 00:50:27 +0200 Subject: Refactor includes & improve compile time Add platform defined to CMakeLists.txt --- include/camera.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/camera.hpp') diff --git a/include/camera.hpp b/include/camera.hpp index 60ca5b5..5c1db61 100644 --- a/include/camera.hpp +++ b/include/camera.hpp @@ -14,9 +14,9 @@ class camera { float focus_dist ); - void set_aspect_ratio(float aspect_ratio); + void set_aspect_ratio(float ratio); - void move(vec3 v); + void move(const vec3& v); void rotate_y(float theta); -- cgit v1.3