diff options
| author | victorfisac <[email protected]> | 2017-04-03 20:31:10 +0200 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2017-04-03 20:31:10 +0200 |
| commit | 256bc6e1dccfd021239dd0e5a66c377a402c3c59 (patch) | |
| tree | c0baef923b5c60128e7fc76d50eb85982e1ba725 /docs/examples/web/core_3d_picking.c | |
| parent | 0d06c946f2a6b7ce0eb374159333872392a707d9 (diff) | |
| parent | e6ed85e993b049a28dcc3c37bd5fadc6ab159df7 (diff) | |
| download | raylib-256bc6e1dccfd021239dd0e5a66c377a402c3c59.tar.gz raylib-256bc6e1dccfd021239dd0e5a66c377a402c3c59.zip | |
Merge remote-tracking branch 'refs/remotes/raysan5/develop' into develop
Diffstat (limited to 'docs/examples/web/core_3d_picking.c')
| -rw-r--r-- | docs/examples/web/core_3d_picking.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/docs/examples/web/core_3d_picking.c b/docs/examples/web/core_3d_picking.c index 39f39364..6b18671e 100644 --- a/docs/examples/web/core_3d_picking.c +++ b/docs/examples/web/core_3d_picking.c @@ -50,9 +50,7 @@ int main() camera.up = (Vector3){ 0.0f, 1.0f, 0.0f }; // Camera up vector (rotation towards target) camera.fovy = 45.0f; // Camera field-of-view Y - SetCameraMode(CAMERA_FREE); // Set a free camera mode - SetCameraPosition(camera.position); // Set internal camera position to match our camera position - SetCameraFovy(camera.fovy); // Set internal camera field-of-view Y + SetCameraMode(camera, CAMERA_FREE); // Set a free camera mode #if defined(PLATFORM_WEB) emscripten_set_main_loop(UpdateDrawFrame, 0, 1); |
