diff --git a/examples/OpenGLAppExample/Source/MainComponent.cpp b/examples/OpenGLAppExample/Source/MainComponent.cpp index 09bc837e4d..54ce95255d 100644 --- a/examples/OpenGLAppExample/Source/MainComponent.cpp +++ b/examples/OpenGLAppExample/Source/MainComponent.cpp @@ -59,7 +59,7 @@ public: Matrix3D rotationMatrix = viewMatrix.rotated (Vector3D (-0.3f, 5.0f * std::sin (getFrameCounter() * 0.01f), 0.0f)); - return viewMatrix * rotationMatrix; + return rotationMatrix * viewMatrix; } void render() override