summary refs log tree commit diff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-10-02 04:34:18 +0200
committerMel <einebeere@gmail.com>2022-10-02 04:34:18 +0200
commit3b289a2f75b6e96735519a65d93b6babd1b1759f (patch)
tree27cfffa0d8fe85b96f380362ab0a2ffc367a1a6b /src/main.cpp
parent46ab7c6c8af19dcf537cab25aa468f4afc403940 (diff)
downloadmeowcraft-3b289a2f75b6e96735519a65d93b6babd1b1759f.tar.zst
meowcraft-3b289a2f75b6e96735519a65d93b6babd1b1759f.zip
Expand Vector and Matrix classes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp12
1 files changed, 6 insertions, 6 deletions
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);