1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-11 23:54:18 +00:00

Updated OpenGLAppExample to use an renamed function

This commit is contained in:
Tom Poole 2017-12-11 09:16:44 +00:00
parent 3b8c533db5
commit d2dc866f01

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;
}