mirror of
https://github.com/luau-lang/luau.git
synced 2025-01-22 18:58:06 +00:00
Fix math.map/math.lerp merge fallout (#1621)
Some checks are pending
benchmark / callgrind (map[branch:main name:luau-lang/benchmark-data], ubuntu-22.04) (push) Waiting to run
build / macos (push) Waiting to run
build / macos-arm (push) Waiting to run
build / ubuntu (push) Waiting to run
build / windows (Win32) (push) Waiting to run
build / windows (x64) (push) Waiting to run
build / coverage (push) Waiting to run
build / web (push) Waiting to run
release / macos (push) Waiting to run
release / ubuntu (push) Waiting to run
release / windows (push) Waiting to run
release / web (push) Waiting to run
Some checks are pending
benchmark / callgrind (map[branch:main name:luau-lang/benchmark-data], ubuntu-22.04) (push) Waiting to run
build / macos (push) Waiting to run
build / macos-arm (push) Waiting to run
build / ubuntu (push) Waiting to run
build / windows (Win32) (push) Waiting to run
build / windows (x64) (push) Waiting to run
build / coverage (push) Waiting to run
build / web (push) Waiting to run
release / macos (push) Waiting to run
release / ubuntu (push) Waiting to run
release / windows (push) Waiting to run
release / web (push) Waiting to run
- LuauMathMap flag was not removed but the uses of it were - LuauMathLerp addition to math table was duplicated
This commit is contained in:
parent
29047504da
commit
82c9383a39
1 changed files with 0 additions and 7 deletions
|
@ -7,7 +7,6 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauMathMap)
|
|
||||||
LUAU_FASTFLAGVARIABLE(LuauMathLerp)
|
LUAU_FASTFLAGVARIABLE(LuauMathLerp)
|
||||||
|
|
||||||
#undef PI
|
#undef PI
|
||||||
|
@ -490,11 +489,5 @@ int luaopen_math(lua_State* L)
|
||||||
lua_setfield(L, -2, "lerp");
|
lua_setfield(L, -2, "lerp");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (FFlag::LuauMathLerp)
|
|
||||||
{
|
|
||||||
lua_pushcfunction(L, math_lerp, "lerp");
|
|
||||||
lua_setfield(L, -2, "lerp");
|
|
||||||
}
|
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue