Browse Source

Updated OpenGLAppExample to use an renamed function

tags/2021-05-28
Tom Poole 7 years ago
parent
commit
d2dc866f01
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/OpenGLAppExample/Source/MainComponent.cpp

+ 1
- 1
examples/OpenGLAppExample/Source/MainComponent.cpp View File

@@ -71,7 +71,7 @@ public:
{
Matrix3D<float> viewMatrix (Vector3D<float> (0.0f, 0.0f, -10.0f));
Matrix3D<float> rotationMatrix
= viewMatrix.rotated (Vector3D<float> (-0.3f, 5.0f * std::sin (getFrameCounter() * 0.01f), 0.0f));
= viewMatrix.rotation (Vector3D<float> (-0.3f, 5.0f * std::sin (getFrameCounter() * 0.01f), 0.0f));
return rotationMatrix * viewMatrix;
}


Loading…
Cancel
Save