|
|
@@ -6325,8 +6325,15 @@ Properties:
|
|
|
|
|
|
\section LuaScriptAPI_GlobalFunctions Global functions
|
|
|
- float Abs(float value)
|
|
|
+- int Abs(int value)
|
|
|
+- float Acos(float x)
|
|
|
- String AddTrailingSlash(const String pathName)
|
|
|
+- float Asin(float x)
|
|
|
+- float Atan(float x)
|
|
|
+- float Atan2(float y, float x)
|
|
|
- float Clamp(float value, float min, float max)
|
|
|
+- int ClampInt(int value, int min, int max)
|
|
|
+- float Cos(float angle)
|
|
|
- bool Equals(float lhs, float rhs)
|
|
|
- void ErrorDialog(const String title, const String message)
|
|
|
- void ErrorExit(const String message = String::EMPTY, int exitCode = EXIT_FAILURE)
|
|
|
@@ -6366,16 +6373,18 @@ Properties:
|
|
|
- bool IsNaN(float value)
|
|
|
- bool IsPowerOfTwo(unsigned value)
|
|
|
- float Lerp(float lhs, float rhs, float t)
|
|
|
+- int Max(int lhs, int rhs)
|
|
|
- float Max(float lhs, float rhs)
|
|
|
- float Min(float lhs, float rhs)
|
|
|
+- int Min(int lhs, int rhs)
|
|
|
- unsigned NextPowerOfTwo(unsigned value)
|
|
|
- void OpenConsoleWindow()
|
|
|
- void PrintLine(const String str, bool error = false)
|
|
|
- int Rand()
|
|
|
- float RandStandardNormal()
|
|
|
-- float Random(float range)
|
|
|
- float Random()
|
|
|
- float Random(float min, float max)
|
|
|
+- float Random(float range)
|
|
|
- int RandomInt(int range)
|
|
|
- int RandomInt(int min, int max)
|
|
|
- float RandomNormal(float meanValue, float variance)
|
|
|
@@ -6386,9 +6395,11 @@ Properties:
|
|
|
- void SetExecuteConsoleCommands(bool enable)
|
|
|
- void SetRandomSeed(unsigned seed)
|
|
|
- float Sign(float value)
|
|
|
+- float Sin(float angle)
|
|
|
- float SmoothStep(float lhs, float rhs, float t)
|
|
|
- void SubscribeToEvent(const String eventName, const String functionName)
|
|
|
- void SubscribeToEvent(void* sender, const String eventName, const String functionName)
|
|
|
+- float Tan(float angle)
|
|
|
- bool ToBool(const String source)
|
|
|
- Color ToColor(const String source)
|
|
|
- float ToFloat(const String source)
|
|
|
@@ -6607,6 +6618,7 @@ Properties:
|
|
|
- float M_DEGTORAD
|
|
|
- float M_DEGTORAD_2
|
|
|
- float M_EPSILON
|
|
|
+- float M_HALF_PI
|
|
|
- float M_INFINITY
|
|
|
- float M_LARGE_EPSILON
|
|
|
- float M_LARGE_VALUE
|