|
|
|
@ -49,7 +49,7 @@ template<class T> T pythagoras(T a, T b) { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
template<class T> constexpr T smallestDelta(); |
|
|
|
template<class T> constexpr T smallestDelta(); |
|
|
|
template<> constexpr Float smallestDelta<Float>() { return 1.0e-32; } |
|
|
|
template<> constexpr Float smallestDelta<Float>() { return 1.0e-32f; } |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
#ifndef MAGNUM_TARGET_GLES |
|
|
|
template<> constexpr Double smallestDelta<Double>() { return 1.0e-64; } |
|
|
|
template<> constexpr Double smallestDelta<Double>() { return 1.0e-64; } |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|