adjust examples for new UpdateCamera function

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

View file

@ -38,8 +38,7 @@ int main(void)
Vector3 position = { 0.0f, 0.0f, 0.0f }; // Set model position
SetCameraMode(&camera, CAMERA_FREE); // Set free camera mode
DisableCursor(); // Catch cursor
SetTargetFPS(60); // Set our game to run at 60 frames-per-second
//--------------------------------------------------------------------------------------
@ -48,7 +47,7 @@ int main(void)
{
// Update
//----------------------------------------------------------------------------------
UpdateCamera(&camera);
UpdateCamera(&camera, CAMERA_THIRD_PERSON);
//----------------------------------------------------------------------------------
// Draw