sm64coopdx/autogen/lua_constants/deprecated.lua
2025-11-25 14:21:11 -05:00

29 lines
No EOL
568 B
Lua

--- @type integer
FONT_TINY = -1
--- @type integer
ANIM_FLAG_FORWARD = (1 << 1)
-----------------------
-- Renamed functions --
-----------------------
rom_hack_cam_set_collisions = camera_romhack_set_collisions
--------------------
-- 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