summary refs log tree commit diff
path: root/src/Util/ImageViewer.cpp
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2023-07-11 04:52:24 +0200
committerMel <einebeere@gmail.com>2023-07-11 04:52:24 +0200
commit0ce26f2a49fd6d64a690b84b1932126edfbfbee6 (patch)
treef0846f7f0e394d3c213986a2f85e0240dc8e5402 /src/Util/ImageViewer.cpp
parente6812d2df6bd8a0a71375096abe46f8039d8c570 (diff)
downloadmeowcraft-0ce26f2a49fd6d64a690b84b1932126edfbfbee6.tar.zst
meowcraft-0ce26f2a49fd6d64a690b84b1932126edfbfbee6.zip
Add simple scrolling non-tiling 2D clouds
Diffstat (limited to 'src/Util/ImageViewer.cpp')
-rw-r--r--src/Util/ImageViewer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Util/ImageViewer.cpp b/src/Util/ImageViewer.cpp
index 8ff8c57..6c88c78 100644
--- a/src/Util/ImageViewer.cpp
+++ b/src/Util/ImageViewer.cpp
@@ -18,7 +18,7 @@ ImageViewer::ImageViewer(
     auto view_uniform = m_program.uniform("view_matrix");
     auto projection_uniform = m_program.uniform("projection_matrix");
 
-    model_uniform.set(Math::MVP::model<F32>({}, {}));
+    model_uniform.set(Math::MVP::model<F32>({}, Vector<3>::one(), {}));
     view_uniform.set(Math::MVP::view<F32>({}, {}));
     projection_uniform.set(Math::MVP::orthographic_projection<F32>(view_size * window_aspect, view_size, 0.0f, 100.0f));