-
Notifications
You must be signed in to change notification settings - Fork 2
raylib.EndMode3D
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Ends 3D mode and returns to default 2D orthographic mode
None.
None.
cam = {position:[0,5,10], target:[0,0,0], up:[0,1,0], fovy:45, projection:raylib.CAMERA_PERSPECTIVE}
raylib.BeginDrawing
raylib.ClearBackground raylib.BLACK
raylib.BeginMode3D cam
// ... draw 3D content ...
raylib.EndMode3D
// ... draw 2D HUD ...
raylib.EndDrawing