|
| f32 | irr::core::radToDeg (f32 radians) |
| | Utility function to convert a radian value to degrees. More...
|
| |
| f64 | irr::core::radToDeg (f64 radians) |
| | Utility function to convert a radian value to degrees. More...
|
| |
| f32 | irr::core::degToRad (f32 degrees) |
| | Utility function to convert a degrees value to radians. More...
|
| |
| f64 | irr::core::degToRad (f64 degrees) |
| | Utility function to convert a degrees value to radians. More...
|
| |
| template<class T > |
| const T & | irr::core::min_ (const T &a, const T &b) |
| | returns minimum of two values. Own implementation to get rid of the STL (VS6 problems) More...
|
| |
| template<class T > |
| const T & | irr::core::min_ (const T &a, const T &b, const T &c) |
| | returns minimum of three values. Own implementation to get rid of the STL (VS6 problems) More...
|
| |
| template<class T > |
| const T & | irr::core::max_ (const T &a, const T &b) |
| | returns maximum of two values. Own implementation to get rid of the STL (VS6 problems) More...
|
| |
| template<class T > |
| const T & | irr::core::max_ (const T &a, const T &b, const T &c) |
| | returns maximum of three values. Own implementation to get rid of the STL (VS6 problems) More...
|
| |
| template<class T > |
| T | irr::core::abs_ (const T &a) |
| | returns abs of two values. Own implementation to get rid of STL (VS6 problems) More...
|
| |
| template<class T > |
| T | irr::core::lerp (const T &a, const T &b, const f32 t) |
| |
| template<class T > |
| const T | irr::core::clamp (const T &value, const T &low, const T &high) |
| | clamps a value between low and high More...
|
| |
| template<class T1 , class T2 > |
| void | irr::core::swap (T1 &a, T2 &b) |
| | swaps the content of the passed parameters More...
|
| |
| template<class T > |
| T | irr::core::roundingError () |
| |
| template<> |
| f32 | irr::core::roundingError () |
| |
| template<> |
| f64 | irr::core::roundingError () |
| |
| template<> |
| s32 | irr::core::roundingError () |
| |
| template<> |
| u32 | irr::core::roundingError () |
| |
| template<> |
| s64 | irr::core::roundingError () |
| |
| template<> |
| u64 | irr::core::roundingError () |
| |
| template<class T > |
| T | irr::core::relativeErrorFactor () |
| |
| template<> |
| f32 | irr::core::relativeErrorFactor () |
| |
| template<> |
| f64 | irr::core::relativeErrorFactor () |
| |
| template<class T > |
| bool | irr::core::equals (const T a, const T b, const T tolerance=roundingError< T >()) |
| | returns if a equals b, taking possible rounding errors into account More...
|
| |
| template<class T > |
| bool | irr::core::equalsRelative (const T a, const T b, const T factor=relativeErrorFactor< T >()) |
| |
| bool | irr::core::equalsByUlp (f32 a, f32 b, int maxUlpDiff) |
| | We compare the difference in ULP's (spacing between floating-point numbers, aka ULP=1 means there exists no float between). More...
|
| |
| bool | irr::core::iszero (const f64 a, const f64 tolerance=ROUNDING_ERROR_f64) |
| | returns if a equals zero, taking rounding errors into account More...
|
| |
| bool | irr::core::iszero (const f32 a, const f32 tolerance=ROUNDING_ERROR_f32) |
| | returns if a equals zero, taking rounding errors into account More...
|
| |
| bool | irr::core::isnotzero (const f32 a, const f32 tolerance=ROUNDING_ERROR_f32) |
| | returns if a equals not zero, taking rounding errors into account More...
|
| |
| bool | irr::core::iszero (const s32 a, const s32 tolerance=0) |
| | returns if a equals zero, taking rounding errors into account More...
|
| |
| bool | irr::core::iszero (const u32 a, const u32 tolerance=0) |
| | returns if a equals zero, taking rounding errors into account More...
|
| |
| bool | irr::core::iszero (const s64 a, const s64 tolerance=0) |
| | returns if a equals zero, taking rounding errors into account More...
|
| |
| s32 | irr::core::s32_min (s32 a, s32 b) |
| |
| s32 | irr::core::s32_max (s32 a, s32 b) |
| |
| s32 | irr::core::s32_clamp (s32 value, s32 low, s32 high) |
| |
| u32 | irr::core::IR (f32 x) |
| |
| f32 | irr::core::FR (u32 x) |
| | Floating-point representation of an integer value. More...
|
| |
| f32 | irr::core::FR (s32 x) |
| |
| REALINLINE u32 | irr::core::if_c_a_else_b (const s32 condition, const u32 a, const u32 b) |
| | conditional set based on mask and arithmetic shift More...
|
| |
| REALINLINE u16 | irr::core::if_c_a_else_b (const s16 condition, const u16 a, const u16 b) |
| | conditional set based on mask and arithmetic shift More...
|
| |
| REALINLINE u32 | irr::core::if_c_a_else_0 (const s32 condition, const u32 a) |
| | conditional set based on mask and arithmetic shift More...
|
| |
| REALINLINE void | irr::core::setbit_cond (u32 &state, s32 condition, u32 mask) |
| |
| f32 | irr::core::round_ (f32 x) |
| |
| REALINLINE f32 | irr::core::squareroot (const f32 f) |
| |
| REALINLINE f64 | irr::core::squareroot (const f64 f) |
| |
| REALINLINE s32 | irr::core::squareroot (const s32 f) |
| |
| REALINLINE s64 | irr::core::squareroot (const s64 f) |
| |
| REALINLINE f64 | irr::core::reciprocal_squareroot (const f64 x) |
| |
| REALINLINE f32 | irr::core::reciprocal_squareroot (const f32 f) |
| |
| REALINLINE s32 | irr::core::reciprocal_squareroot (const s32 x) |
| |
| REALINLINE f32 | irr::core::reciprocal (const f32 f) |
| |
| REALINLINE f64 | irr::core::reciprocal (const f64 f) |
| |
| REALINLINE f32 | irr::core::reciprocal_approxim (const f32 f) |
| |
| REALINLINE s32 | irr::core::floor32 (f32 x) |
| |
| REALINLINE s32 | irr::core::ceil32 (f32 x) |
| |
| REALINLINE s32 | irr::core::round32 (f32 x) |
| |
| f32 | irr::core::f32_max3 (const f32 a, const f32 b, const f32 c) |
| |
| f32 | irr::core::f32_min3 (const f32 a, const f32 b, const f32 c) |
| |
| f32 | irr::core::fract (f32 x) |
| |