mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Deprecate love.math.noise
This commit is contained in:
@@ -318,6 +318,8 @@ int w_linearToGamma(lua_State *L)
|
||||
|
||||
int w_noise(lua_State *L)
|
||||
{
|
||||
luax_markdeprecated(L, 1, "love.math.noise", API_FUNCTION, DEPRECATED_REPLACED, "love.math.perlinNoise or love.math.simplexNoise");
|
||||
|
||||
int nargs = std::min(std::max(lua_gettop(L), 1), 4);
|
||||
double args[4];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user