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

@@ -90,7 +90,7 @@ function Camera3D:getUpward()
return Vec3:new( RL.GetCamera3DUpNormalized( self.camera ) )
end
function Camera3D:process( delta )
function Camera3D:update( delta )
if self.mode == self.MODES.FREE then
if RL.IsMouseButtonDown( RL.MOUSE_BUTTON_MIDDLE ) then
local mouseDelta = Vec2:new( RL.GetMouseDelta() )