diff options
| author | jussi | 2024-02-18 15:26:21 +0200 |
|---|---|---|
| committer | jussi | 2024-02-18 15:26:21 +0200 |
| commit | 9b27daefc225752f3f24ea862e9c2be13f8addf6 (patch) | |
| tree | cfa74048b9bddb9dc58e8117a4a7af845ee137eb /examples/basic_lighting/main.lua | |
| parent | 9de10be468c5151765a0e007d5889971c637fd24 (diff) | |
| download | reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.gz reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.tar.bz2 reilua-enhanced-9b27daefc225752f3f24ea862e9c2be13f8addf6.zip | |
Process renamed to update to be more inline with naming of raylib and common convention.
Diffstat (limited to 'examples/basic_lighting/main.lua')
| -rw-r--r-- | examples/basic_lighting/main.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/basic_lighting/main.lua b/examples/basic_lighting/main.lua index 29104f2..1a5417e 100644 --- a/examples/basic_lighting/main.lua +++ b/examples/basic_lighting/main.lua @@ -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 |
