summaryrefslogtreecommitdiff
path: root/examples/iqm_test/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/iqm_test/main.lua')
-rw-r--r--examples/iqm_test/main.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/iqm_test/main.lua b/examples/iqm_test/main.lua
index 486b110..a1040ba 100644
--- a/examples/iqm_test/main.lua
+++ b/examples/iqm_test/main.lua
@@ -23,7 +23,6 @@ function RL.init()
RL.SetCamera3DPosition( camera, { 0, 2, 4 } )
RL.SetCamera3DTarget( camera, { 0, 0, 0 } )
RL.SetCamera3DUp( camera, { 0, 1, 0 } )
- RL.SetCameraMode( camera, RL.CAMERA_FREE )
material = RL.CreateMaterial( {
maps = {
@@ -74,7 +73,7 @@ end
function RL.draw()
RL.ClearBackground( { 100, 150, 100 } )
- RL.UpdateCamera3D( camera )
+ RL.UpdateCamera3D( camera, RL.CAMERA_FIRST_PERSON )
RL.BeginMode3D( camera )
RL.DrawGrid( 8, 1 )