Math Namespace


int Math::Abs(int i)
float Math::Abs(float f)
float Math::Acos(float f)
float Math::Angle(const vec2&in a, const vec2&in b)
float Math::Angle(const vec3&in a, const vec3&in b)
float Math::Asin(float f)
float Math::Atan(float f)
float Math::Atan2(float y, float x)
float Math::Ceil(float f)
float Math::Clamp(float x, float min, float max)
int Math::Clamp(int x, int min, int max)
float Math::Cos(float f)
float Math::Distance(const vec2&in a, const vec2&in b)
float Math::Distance(const vec3&in a, const vec3&in b)
float Math::Dot(const vec2&in a, const vec2&in b)
float Math::Dot(const vec3&in a, const vec3&in b)
float Math::Exp(float f)
float Math::Floor(float f)
bool Math::IsInf(float x)
bool Math::IsNaN(float x)
float Math::Log(float f)
float Math::Log10(float f)
float Math::Log2(float f)
float Math::Max(float x, float y)
int Math::Max(int x, int y)
float Math::Min(float x, float y)
int Math::Min(int x, int y)
float Math::Pow(float x, float y)
float Math::Rand(float min, float max)
int Math::Rand(int min, int max)
float Math::Round(float f)
float Math::Sin(float f)
float Math::Sqrt(float f)
float Math::Tan(float f)
float Math::ToDeg(float rad)
float Math::ToRad(float deg)
const double PI
const int INT_MIN
const int INT_MAX
const uint UINT_MAX
const uint64 UINT64_MAX