Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
Math.c
Go to the documentation of this file.
1/*
2===========================================
3Do not modify, this script is generated
4===========================================
5*/
6
11
12sealed class Math
13{
18
19 static const float PI;
20 static const float PI2;
21 static const float PI_HALF;
22 static const float RAD2DEG;
23 static const float DEG2RAD;
24 static const float E;
26
27 private void Math();
28 private void ~Math();
29
40 static proto float Round(float f);
51 static proto float Floor(float f);
62 static proto float Ceil(float f);
71 static proto float Min(float x, float y);
80 static proto float Max(float x, float y);
89 static proto float Sin(float angleRad);
98 static proto float Cos(float angleRad);
107 static proto float Tan(float angleRad);
116 static proto float Asin(float s);
125 static proto float Acos(float c);
137 static proto float Atan2(float y, float x);
146 static proto float Pow(float v, float power);
155 static proto float Mod(float v, float div);
164 static proto float AbsFloat(float f);
173 static proto int AbsInt(int i);
182 static proto float Sqrt(float val);
195 static proto float Log2(float x);
208 static proto float Log10(float x);
221 static proto float Log(float x);
235 static proto float SmoothCD(float val, float target, inout float velocity, float smoothTime, float maxVelocity, float dt);
242 static proto float SmoothCDPI2PI(float val, float target, inout float velocity, float smoothTime, float maxVelocity, float dt);
252 static proto float SmoothSpring(float val, float target, inout float velocity, float spring, float damping, float dt);
257 static proto float PerlinNoise(float x, float y = 0, float z = 0);
259 static proto float PerlinNoise01(float x, float y = 0, float z = 0);
261 static proto float SimplexNoise1D(float x);
275 static proto int RandomInt(int min, int max);
286 [Obsolete("If seed need to be used use RandomGenerator instead")]
287 static proto int Randomize(int seed);
301 static proto float RandomFloat(float min, float max);
303 static proto float RandomGaussFloat(float sigma, float mean);
317 static proto int RandomIntInclusive(int min, int max);
331 static proto float RandomFloatInclusive(float min, float max);
342 static proto float RandomFloat01();
353 static proto float Repeat(float value, float range);
362 static proto float Map(float value, float fromLow, float fromHigh, float toLow, float toHigh);
371 static proto float MapAngle(float value, float fFromRange = 360, float fToLow = -180, float fToHigh = 180);
389 static proto bool IsInRange(float value, float min, float max);
406 static proto bool IsInRangeSharp(float value, float min, float max);
423 static proto float Clamp(float value, float min, float max);
440 static proto int ClampInt(int value, int min, int max);
449 static proto float Lerp(float a, float b, float t);
458 static proto float InverseLerp(float a, float b, float value);
459}
460
override void Log()
@ Max