Process renamed to update to be more inline with naming of raylib and common convention.

This commit is contained in:
jussi
2024-02-18 15:26:21 +02:00
parent 9de10be468
commit 9b27daefc2
35 changed files with 99 additions and 98 deletions

View File

@@ -91,8 +91,8 @@ function RL.init()
table.insert( lights, RL.CreateLight( RL.LIGHT_POINT, { 2, 1, -2 }, RL.Vector3Zero(), RL.BLUE, shader ) )
end
function RL.process( delta )
camera:process( delta )
function RL.update( delta )
camera:update( delta )
-- Check key inputs to enable/disable lights.
if RL.IsKeyPressed( RL.KEY_Y ) then