From 9b27daefc225752f3f24ea862e9c2be13f8addf6 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 18 Feb 2024 15:26:21 +0200 Subject: Process renamed to update to be more inline with naming of raylib and common convention. --- ReiLua_API.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index c5be720..8dd0899 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -8,8 +8,8 @@ RL={} function RL.init() end ---This function will be called every frame during execution. It will get time duration from last frame on argument 'delta' ---@param delta number -function RL.process( delta ) end ----This function will be called every frame after process and it should have all rendering related functions. Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it. You can still use RL.BeginDrawing() and RL.EndDrawing() manually from anywhere. +function RL.update( delta ) end +---This function will be called every frame after update and it should have all rendering related functions. Note: Engine will call Raylib functions 'BeginDrawing()' before this function call and 'EndDrawing()' after it. You can still use RL.BeginDrawing() and RL.EndDrawing() manually from anywhere. function RL.draw() end ---This function will be called on events input. Content of event table is determined by event type. ---@param event table -- cgit v1.2.3