summaryrefslogtreecommitdiffhomepage
path: root/docs/examples/web/models_cubicmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/web/models_cubicmap.c')
-rw-r--r--docs/examples/web/models_cubicmap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/examples/web/models_cubicmap.c b/docs/examples/web/models_cubicmap.c
index 08e14580..4e0ddddd 100644
--- a/docs/examples/web/models_cubicmap.c
+++ b/docs/examples/web/models_cubicmap.c
@@ -53,8 +53,7 @@ int main()
UnloadImage(image); // Unload cubesmap image from RAM, already uploaded to VRAM
- SetCameraMode(CAMERA_ORBITAL); // Set an orbital camera mode
- SetCameraPosition(camera.position); // Set internal camera position to match our custom camera position
+ SetCameraMode(camera, CAMERA_ORBITAL); // Set an orbital camera mode
#if defined(PLATFORM_WEB)
emscripten_set_main_loop(UpdateDrawFrame, 0, 1);