adjust examples for new UpdateCamera function

This commit is contained in:
Crydsch 2022-09-02 16:19:36 +02:00
commit 42a6520f4d

View file

@ -85,6 +85,7 @@ int main(void)
int framesCounter = 0;
Vector3 rotation = { 0 }; // Model rotation angles
DisableCursor(); // Catch cursor
SetTargetFPS(60); // Set to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
@ -93,7 +94,7 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
UpdateCamera(&camera);
UpdateCamera(&camera, CAMERA_FIRST_PERSON);
framesCounter++;
rotation.x += 0.01f;