57 Commits (527ee0f45d3414f23cf6f16f75c5cd4cf4ac6664)

Author SHA1 Message Date
Vladimír Vondruš c56940993b Use the new math constants throughout the code. 12 years ago
Vladimír Vondruš 64a02d68db Math: document more non-obvious tricks. 12 years ago
Vladimír Vondruš a8199340fb Math: fixed confusing naming. 12 years ago
Vladimír Vondruš 6f0ba96cb6 Happy new year too. 12 years ago
Vladimír Vondruš 0616f24f34 Making includes absolute, part 5: absolute includes everywhere. 12 years ago
Vladimír Vondruš 8c2291aa49 Making includes absolute, part 4: using absolute includes for Corrade. 12 years ago
Vladimír Vondruš 45a10cefdf Making includes absolute, part 1: moving files around. 12 years ago
Vladimír Vondruš 282ee58c62 Math: work around missing std::round() in NaCl newlib. 13 years ago
Vladimír Vondruš 4059bd752f Math: added minmax() and Vector2::minmax(). 13 years ago
Vladimír Vondruš f009e5c47f Math: added rounding functions. 13 years ago
Vladimír Vondruš 186c522fe5 Math: added lerpInverted(). 13 years ago
Vladimír Vondruš 5787d66d45 Math: test also vector as interpolation phase in Math::lerp(). 13 years ago
Vladimír Vondruš 31ce072f39 Math: added initializer list overloads for min() and max(). 13 years ago
Vladimír Vondruš f6ae87376b Math: added function fma(). 13 years ago
Vladimír Vondruš 6124ad3c27 Math: added sqrtInverted() function. 13 years ago
Vladimír Vondruš 5e8606a755 Math: added sign() function. 13 years ago
Vladimír Vondruš d95c44fcc8 Math: test that trigonometric functions work with Unit base class. 13 years ago
Vladimír Vondruš 83bda8bbe6 Math: fixed test for denormalize<UnsignedLong, long double>(). 13 years ago
Vladimír Vondruš 35eb876303 Various other compilation fixes for OpenGL ES target. 13 years ago
Vladimír Vondruš 4744b631bb Math: test pow() constexpr. 13 years ago
Vladimír Vondruš c5ab86794b Relicensing to MIT/Expat license, part 3: source files. 13 years ago
Vladimír Vondruš 90a60ce7e9 Math: disable denormalize() test for UnsignedLong. 13 years ago
Vladimír Vondruš 231f3277ab Adapted to Corrade changes. 13 years ago
Vladimír Vondruš 6a90b0231b Math: using new aliases for builtin types in whole Math namespace. 13 years ago
Vladimír Vondruš 5ff0e29950 Math: fix warning about literal types in normalize(). 13 years ago
Vladimír Vondruš c2f4359bd7 Math: added strongly-typed asin(), acos() and atan(). 13 years ago
Vladimír Vondruš c0a5e5dadd Math: added sin(), cos() and tan() accepting either Rad or Deg. 13 years ago
Vladimír Vondruš fec6822187 Math: added sqrt() scalar/vector overload. 13 years ago
Vladimír Vondruš 0144c38a54 Math: moved lerp() from Vector to Functions.h. 13 years ago
Vladimír Vondruš 8a63939134 Math: added vector/scalar abs() function. 13 years ago
Vladimír Vondruš 263d8351b6 Math: vector overloads for normalize() and denormalize(). 13 years ago
Vladimír Vondruš 4d6d3fde88 Math: scalar/vector implementation of min(), max() and clamp(). 13 years ago
Vladimír Vondruš cade175304 Math: finally implemented precise signed/unsigned normalization. 14 years ago
Vladimír Vondruš 7dc0fc4a4c Math: Renamed Math.h to Functions.h 14 years ago
Vladimír Vondruš 52300cf402 Math: function for base-2 logarithm. 14 years ago
Vladimír Vondruš fcb8a7b768 Got rid of header files in tests. 14 years ago
Vladimír Vondruš 0f889369f4 No `using namespace std` anywhere. 14 years ago
Vladimír Vondruš c1cf94fb46 Using fixed-size integer types also everywhere else. 14 years ago
Vladimír Vondruš eb803200d6 Disabled denormalization test for long double altogether. 14 years ago
Vladimír Vondruš 3d77885555 Revert "Overflow test for large types in Math::normalize() started working." 14 years ago
Vladimír Vondruš 75d0505a60 Overflow test for large types in Math::normalize() started working. 14 years ago
Vladimír Vondruš fe62f547de Reduced #includes in headers. 14 years ago
Vladimír Vondruš 3558859cc6 Utility function for clamping value in given limits. 14 years ago
Vladimír Vondruš 51f2478b1e More precise double Math constants. 14 years ago
Vladimír Vondruš 3bcaed6322 Using round() in denormalization. 14 years ago
Vladimír Vondruš 2553e50444 Functions for normalizing and denormalizing numeric values. 14 years ago
Vladimír Vondruš 27e1dce533 Got rid of Qt's QtTest in favor of Corrade's TestSuite. 14 years ago
Vladimír Vondruš 7f6f81afc7 Math::Constants are now inline functions instead of static variables. 14 years ago
Vladimír Vondruš 925cc3d2ff Make Math::pow() templated on type. 14 years ago
Vladimír Vondruš f0d88fbf9f Added templated Math::Constants structure to replace PI #define. 14 years ago