summaryrefslogtreecommitdiff
path: root/examples/heightmap/main.lua
diff options
context:
space:
mode:
authorjussi2022-06-12 23:20:10 +0300
committerjussi2022-06-12 23:20:10 +0300
commit4cb361733ef4bce0e803501b750acdd81404778f (patch)
treeb3e84392a64621dcc08614fac4fb9580189aea0a /examples/heightmap/main.lua
parent9dd3fa10cee52913cb0093b2fe7a0faa31e1c17a (diff)
downloadreilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.tar.gz
reilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.tar.bz2
reilua-enhanced-4cb361733ef4bce0e803501b750acdd81404778f.zip
Rest of shapes draw functions.
Diffstat (limited to 'examples/heightmap/main.lua')
-rw-r--r--examples/heightmap/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua
index 7d26e02..3cae3e4 100644
--- a/examples/heightmap/main.lua
+++ b/examples/heightmap/main.lua
@@ -30,7 +30,7 @@ function init()
RL_SetCamera3DPosition( camera, { 0, 8, 16 } )
RL_SetCamera3DTarget( camera, { 0, 0, 0 } )
RL_SetCamera3DUp( camera, { 0, 1, 0 } )
- RL_SetCamera3DMode( camera, CAMERA_FREE )
+ RL_SetCameraMode( camera, CAMERA_FREE )
heigthImage = RL_LoadImage( RL_GetBasePath().."../resources/images/heightmap.png" )