sm64coopdx/autogen/lua_constants/deprecated.lua
Agent X 1f2e09da6e Re-arrange some parameters and add math.round
Co-Authored-By: xLuigiGamerx <88401287+xLuigiGamerx@users.noreply.github.com>
2025-05-28 22:34:45 -04:00

22 lines
No EOL
433 B
Lua

--- @type integer
FONT_TINY = -1
--- @type integer
ANIM_FLAG_FORWARD = (1 << 1)
--------------------
-- Math functions --
--------------------
--- Note: These functions were originally in smlua_math_utils.h,
--- but performed worse (~2x slower) than built-in Lua math functions
min = math.min
minf = math.min
max = math.max
maxf = math.max
sqr = math.sqr
sqrf = math.sqr
clamp = math.clamp
clampf = math.clamp
hypotf = math.hypot