From 3b289a2f75b6e96735519a65d93b6babd1b1759f Mon Sep 17 00:00:00 2001 From: Mel Date: Sun, 2 Oct 2022 04:34:18 +0200 Subject: Expand Vector and Matrix classes --- src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index ad6148e..3fc1711 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,13 +39,13 @@ void run() { glViewport(0, 0, WINDOW_WIDTH, WINDOW_HEIGHT); MC::Mesh quad({ - {-0.5, -0.5, 0.0}, - {0.5, -0.5, 0.0}, - {-0.5, 0.5, 0.0}, + {-0.5f, -0.5f, 0.0f}, + {0.5f, -0.5f, 0.0f}, + {-0.5f, 0.5f, 0.0f}, - {0.5, 0.5, 0.0}, - {-0.5, 0.5, 0.0}, - {0.5, -0.5, 0.0}, + {0.5f, 0.5f, 0.0f}, + {-0.5f, 0.5f, 0.0f}, + {0.5f, -0.5f, 0.0f}, }); auto mesh = MC::Binder::load(quad); -- cgit 1.4.1