From 7af7e7003131e182efb30bac8c1ff06ac1d667d6 Mon Sep 17 00:00:00 2001 From: jussi Date: Sun, 15 Oct 2023 18:54:19 +0300 Subject: Renamed start, end arguments to a, b to avoid using Lua keyword end in argument names. --- ReiLua_API.lua | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'ReiLua_API.lua') diff --git a/ReiLua_API.lua b/ReiLua_API.lua index 7a19f28..66ba45c 100644 --- a/ReiLua_API.lua +++ b/ReiLua_API.lua @@ -2710,11 +2710,11 @@ function RL.ImageDrawPixel( dst, position, color ) end ---- Failure return false ---- Success return true ---@param dst any ----@param start table ----@param end table +---@param a table +---@param b table ---@param color table ---@return any success -function RL.ImageDrawLine( dst, start, end, color ) end +function RL.ImageDrawLine( dst, a, b, color ) end ---Draw circle within an image ---- Failure return false @@ -4174,20 +4174,20 @@ function RL.Clamp( value, min, max ) end ---Calculate linear interpolation between two floats ---- Failure return false ---- Success return float ----@param start number ----@param end number +---@param a number +---@param b number ---@param amount number ---@return any result -function RL.Lerp( start, end, amount ) end +function RL.Lerp( a, b, amount ) end ---Normalize input value within input range ---- Failure return false ---- Success return float ---@param value number ----@param start number ----@param end number +---@param a number +---@param b number ---@return any result -function RL.Normalize( value, start, end ) end +function RL.Normalize( value, a, b ) end ---Remap input value within input range to output range ---- Failure return false @@ -4312,10 +4312,10 @@ function RL.Vector2Angle( v1, v2 ) end ---Current implementation should be aligned with glm::angle. ---- Failure return false ---- Success return float ----@param start table ----@param end table +---@param a table +---@param b table ---@return any result -function RL.Vector2LineAngle( start, end ) end +function RL.Vector2LineAngle( a, b ) end ---Scale vector ( multiply by value ) ---- Failure return false -- cgit v1.2.3