From e6ed85e993b049a28dcc3c37bd5fadc6ab159df7 Mon Sep 17 00:00:00 2001 From: Ray Date: Sat, 1 Apr 2017 00:51:31 +0200 Subject: Update web examples -WORK IN PROGRESS- --- docs/examples/web/core_3d_picking.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/examples/web/core_3d_picking.c') 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); -- cgit v1.2.3