#include <cmath>
#include <limits>
Go to the source code of this file.
Namespaces | |
wykobi | |
Macros | |
#define | WYKOBI_DOUBLE_PRECISION |
Typedefs | |
typedef double | wykobi::Float |
Functions | |
template<typename T > | |
T | wykobi::sqr (const T &val) |
template<typename T > | |
T | wykobi::sqrt (const T &val) |
template<typename T > | |
T | wykobi::abs (const T &value) |
template<typename T > | |
T | wykobi::max (const T &value1, const T &value2) |
template<typename T > | |
T | wykobi::min (const T &value1, const T &value2) |
template<typename T > | |
T | wykobi::max (const T &value1, const T &value2, const T &value3) |
template<typename T > | |
T | wykobi::min (const T &value1, const T &value2, const T &value3) |
template<typename T > | |
T | wykobi::infinity () |
template<typename T > | |
T | wykobi::sin (const T &value) |
template<typename T > | |
T | wykobi::cos (const T &value) |
template<typename T > | |
T | wykobi::tan (const T &value) |
template<typename T > | |
T | wykobi::asin (const T &value) |
template<typename T > | |
T | wykobi::acos (const T &value) |
template<typename T > | |
T | wykobi::atan (const T &value) |
template<typename T > | |
T | wykobi::approx_sin (T angle) |
template<typename T > | |
T | wykobi::approx_cos (T angle) |
template<typename T > | |
T | wykobi::approx_tan (T angle) |
template<typename T > | |
T | wykobi::clamp (const T &value, const T &low, const T &high) |
#define WYKOBI_DOUBLE_PRECISION |