diff options
| author | raysan5 <[email protected]> | 2016-09-25 14:28:24 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2016-09-25 14:28:24 +0200 |
| commit | 753b549aa5c6a010fc4de8acc2f64afdfce69cee (patch) | |
| tree | d391bf49f41c39a2d720d1bab632bef936b3fbc2 /examples/core_3d_camera_free.c | |
| parent | 87fc7254e725f4e5c5137b31d1dfe56be8e22cf0 (diff) | |
| download | raylib-753b549aa5c6a010fc4de8acc2f64afdfce69cee.tar.gz raylib-753b549aa5c6a010fc4de8acc2f64afdfce69cee.zip | |
Improving camera system -IN PROGRESS-
Diffstat (limited to 'examples/core_3d_camera_free.c')
| -rw-r--r-- | examples/core_3d_camera_free.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/core_3d_camera_free.c b/examples/core_3d_camera_free.c index fa7ad85f..257bb789 100644 --- a/examples/core_3d_camera_free.c +++ b/examples/core_3d_camera_free.c @@ -29,10 +29,7 @@ int main() Vector3 cubePosition = { 0.0f, 0.0f, 0.0f }; - SetCameraMode(CAMERA_FREE); // Set a free camera mode - SetCameraPosition(camera.position); // Set internal camera position to match our camera position - SetCameraTarget(camera.target); // Set internal camera target to match our camera target - SetCameraFovy(camera.fovy); // Set internal camera field-of-view Y + SetCameraMode(camera, CAMERA_FREE); // Set a free camera mode SetTargetFPS(60); // Set our game to run at 60 frames-per-second //-------------------------------------------------------------------------------------- |
