Camera3D lib. New camera3D functions.

This commit is contained in:
jussi
2023-04-10 23:52:13 +03:00
parent 6938cdbaed
commit 3445d935d6
11 changed files with 1142 additions and 21 deletions

View File

@@ -78,7 +78,9 @@ end
function RL.draw()
RL.ClearBackground( { 25, 50, 50 } )
RL.UpdateCamera3D( camera, RL.CAMERA_ORBITAL )
-- RL.UpdateCamera3D( camera, RL.CAMERA_ORBITAL )
-- RL.UpdateCamera3D( camera, RL.CAMERA_FREE )
RL.UpdateCamera3D( camera, RL.CAMERA_FIRST_PERSON )
RL.BeginMode3D( camera )
RL.DrawMesh( mesh, material, matrix )