diff --git a/examples/OpenGLAppExample/Source/MainComponent.cpp b/examples/OpenGLAppExample/Source/MainComponent.cpp index 6e602b47e6..2275eda612 100644 --- a/examples/OpenGLAppExample/Source/MainComponent.cpp +++ b/examples/OpenGLAppExample/Source/MainComponent.cpp @@ -71,7 +71,7 @@ public: { Matrix3D viewMatrix (Vector3D (0.0f, 0.0f, -10.0f)); Matrix3D rotationMatrix - = viewMatrix.rotated (Vector3D (-0.3f, 5.0f * std::sin (getFrameCounter() * 0.01f), 0.0f)); + = viewMatrix.rotation (Vector3D (-0.3f, 5.0f * std::sin (getFrameCounter() * 0.01f), 0.0f)); return rotationMatrix * viewMatrix; }