|
template<typename T > |
static T | min (const T &val, const T &minimum) |
|
template<typename T > |
static T | max (const T &val, const T &maximum) |
|
static real | abs (const real &calc) |
|
template<typename T > |
static T | clamp (const T &val, const T &minval, const T &maxval) |
|
template<typename T , typename pairType > |
static T | clamp (const T &val, const pairType &minMaxVal) |
|
static real | map (const real &value, const real &fromMin, const real &fromMax, const real &toMin, const real &toMax) |
|
template<typename T > |
static T | floor (const T &calc) |
|
template<typename T > |
static T | ceil (const T &val) |
|
template<typename T > |
static bool | between (const T &number, const T &min, const T &max) |
|
static real | sin (const real &calc) |
|
static real | asin (const real &calc) |
|
static real | cos (const real &calc) |
|
static real | acos (const real &calc) |
|
static real | atan2 (const real &fst, const real &snd) |
|
static real | sqrt (const real &calc) |
|
static int32 | pow (const int32 &number, const int32 &expo) |
|
static real | pow (const real &number, const real &expo) |
|
static uint32 | rand () |
|
static real | randReal () |
|
|
static constexpr real | pi = 3.14159265358979323846 |
|
static constexpr real | piHalf = pi / 2. |
|
static constexpr real | sqrtZeroPointFive = 0.707106781 |
|
static constexpr real | sqrtOneThird = 0.577350269 |
|
The documentation for this class was generated from the following files:
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/math/source/blub/math/math.hpp
- /home/mlanner/Development/cpp/projects/voxelTerrain/voxelTerrain/modules/math/source/blub/math/math.cpp