Remove clamp macro

Doesn't really need to exist since  all it's doing is inlining std::clamp.
This commit is contained in:
sukibaby
2024-09-03 20:50:48 -07:00
committed by teejusb
parent 51dbbeac1c
commit 21088502b9
36 changed files with 61 additions and 64 deletions
+1 -1
View File
@@ -1055,7 +1055,7 @@ static float scale( float x, float l1, float h1, float l2, float h2 )
}
LuaFunction( scale, scale(FArg(1), FArg(2), FArg(3), FArg(4), FArg(5)) );
LuaFunction( clamp, clamp(FArg(1), FArg(2), FArg(3)) );
LuaFunction( clamp, std::clamp(FArg(1), FArg(2), FArg(3)) );
#include "LuaBinding.h"
namespace