diff options
Diffstat (limited to 'examples/models/models_loading_m3d.c')
| -rw-r--r-- | examples/models/models_loading_m3d.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/models/models_loading_m3d.c b/examples/models/models_loading_m3d.c index 52dc9522..c1a4af07 100644 --- a/examples/models/models_loading_m3d.c +++ b/examples/models/models_loading_m3d.c @@ -53,8 +53,7 @@ int main(void) int animFrameCounter = 0, animId = 0; ModelAnimation *anims = LoadModelAnimations(modelFileName, &animsCount); // Load skeletal animation data - SetCameraMode(camera, CAMERA_FREE); // Set free camera mode - + DisableCursor(); // Catch cursor SetTargetFPS(60); // Set our game to run at 60 frames-per-second //-------------------------------------------------------------------------------------- @@ -63,7 +62,7 @@ int main(void) { // Update //---------------------------------------------------------------------------------- - UpdateCamera(&camera); + UpdateCamera(&camera, CAMERA_FIRST_PERSON); if (animsCount) { |
