summaryrefslogtreecommitdiff
path: root/examples/heightmap/main.lua
diff options
context:
space:
mode:
Diffstat (limited to 'examples/heightmap/main.lua')
-rw-r--r--examples/heightmap/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/heightmap/main.lua b/examples/heightmap/main.lua
index 51bb153..db03e97 100644
--- a/examples/heightmap/main.lua
+++ b/examples/heightmap/main.lua
@@ -81,8 +81,8 @@ function RL.init()
matrix = RL.MatrixMultiply( RL.MatrixIdentity(), RL.MatrixTranslate( { -4, 0, -4 } ) )
end
-function RL.process( delta )
- camera:process( delta )
+function RL.update( delta )
+ camera:update( delta )
if RL.IsKeyPressed( RL.KEY_SPACE ) then
if camera.mode == camera.MODES.FREE then