Frontend2Math.h File Reference

#include <Frontend2/BaseTypes.h>
#include <cmath>
#include <Frontend2Math/Vector2.h>
#include <Frontend2Math/Vector3.h>
#include <Frontend2Math/Vector4.h>
#include <Frontend2Math/Matrix3.h>
#include <Frontend2Math/Matrix4.h>
#include <Frontend2Math/Rectangle.h>

Namespaces

namespace  Frontend
namespace  Frontend::Math

Classes

class  Frontend::Math::Random

Functions

template<class T>
Frontend::Math::Min (const T &a, const T &b)
template<class T>
Frontend::Math::Max (const T &a, const T &b)
template<class T>
Frontend::Math::Clamp (const T &x, const T &minimum, const T &maximum)
template<class T>
Frontend::Math::Abs (const T &a)
float Frontend::Math::Min (const float a, const float b)
float Frontend::Math::Max (const float a, const float b)
float Frontend::Math::Clamp (const float x, const float minimum, const float maximum)
float Frontend::Math::Sin (const float x)
float Frontend::Math::Cos (const float x)
float Frontend::Math::Tan (const float x)
float Frontend::Math::ArcSin (const float x)
float Frontend::Math::ArcCos (const float x)
float Frontend::Math::ArcTan (const float x)
float Frontend::Math::Log (const float x)
float Frontend::Math::Log10 (const float x)
float Frontend::Math::Log2 (const float x)
float Frontend::Math::Log (const float x, const float base)
float Frontend::Math::Sqrt (const float x)
float Frontend::Math::Pow (const float base, const float exponent)
float Frontend::Math::Exp (const float x)
float Frontend::Math::Floor (const float x)
float Frontend::Math::Ceil (const float x)
float Frontend::Math::Round (const float x)
float Frontend::Math::Abs (const float x)
float Frontend::Math::Mod (const float x, const float y)
float Frontend::Math::Frand ()
float Frontend::Math::Ufrand ()
float Frontend::Math::RadToDeg (const float x)
float Frontend::Math::DegToRad (const float x)
int Frontend::Math::UpperPow2 (const int x)
template<typename T>
Frontend::Math::Lerp (const T &a, const T &b, const float t)
template<typename T>
Frontend::Math::Slerp (const T &a, const T &b, const float t)
float Frontend::Math::Lerp (const float a, const float b, const float t)
float Frontend::Math::Slerp (const float a, const float b, const float t)

Variables

const double Frontend::Math::PI = 3.1415926535897932384626433832795
const double Frontend::Math::E = 2.71828182845904523536