From b533e2a408703e963cc20c90e861a01d649c461e Mon Sep 17 00:00:00 2001 From: elipzer Date: Thu, 13 Sep 2018 22:46:36 -0400 Subject: [PATCH] Fixed Model Matrix Not Working Was caused by copying the batch instead of using the correct format of using a reference --- OpenGLEngine/MyBuiltinCubeScene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenGLEngine/MyBuiltinCubeScene.h b/OpenGLEngine/MyBuiltinCubeScene.h index 504d7d4..f22f7f1 100644 --- a/OpenGLEngine/MyBuiltinCubeScene.h +++ b/OpenGLEngine/MyBuiltinCubeScene.h @@ -15,5 +15,5 @@ public: private: BasicRenderable m_shape; Camera2D m_camera; - BasicBatch m_batch; + BasicBatch& m_batch; }; \ No newline at end of file