250 Commits (7738fcc0118f887299ec8b2502bfe06db6aac331)

Author SHA1 Message Date
Vladimír Vondruš 7738fcc011 Math: use CORRADE_COMPARE() to compare non-boolean values. 8 years ago
Vladimír Vondruš f5e30bb5d3 Math: minor coding style cleanup. 8 years ago
Borislav Stanimirov f7f2ab8cb5 Math: added StrictWeakOrdering for math types 8 years ago
Vladimír Vondruš 8be57d1a21 Math: I should have tested this. 8 years ago
Vladimír Vondruš d7d8e49de2 Math: make all literals usable with Utility::Tweakable. 8 years ago
Vladimír Vondruš 6d7558672d Math: MSVC 2015 constexpr fun! 8 years ago
Vladimír Vondruš 0226ab26c4 Math: make one-dimensional range just from scalar types. 8 years ago
Vladimír Vondruš 597223e993 Math: test a bit more. 8 years ago
Vladimír Vondruš ebedbce2f2 Math: vector overloads for isInf() and isNan(). 8 years ago
Vladimír Vondruš 5792d7f06a Math: fun with printing NaNs :( 8 years ago
Vladimír Vondruš 0cf65741ae Math: helpfully print the offending values in all assertions. 8 years ago
Vladimír Vondruš 2fd8bae26d Math: added Range::scaledFromCenter(). 8 years ago
Vladimír Vondruš e3e61d8865 Math: ability to multiply/divide a Complex with a Vector2. 8 years ago
Vladimír Vondruš 1a253af761 Math: added Constants::sqrtHalf(). 8 years ago
Vladimír Vondruš 08d51ec116 Math: oh, MSVC 2015 constexpr fun is here again. 8 years ago
Vladimír Vondruš 8d5454b8ff Math: ability to slice or expand square matrices. 8 years ago
Vladimír Vondruš 2c1da5466e Math: added data() accessors to all remaining types. 8 years ago
Vladimír Vondruš 7a0bf3018f Math: new min(), max() and minmax() overloads taking plain C arrays. 8 years ago
Vladimír Vondruš 523c16779d Math: added missing CubicHermite [s]lerp[ShortestPath]() overloads. 8 years ago
Vladimír Vondruš dfcd33ffe8 Math: properly test also (s)lerpShortestPath() assertions. 8 years ago
Vladimír Vondruš d5e6012824 Math: simplify CubicHermite test. 8 years ago
Vladimír Vondruš 13a6ba8a23 Math: benchmark quaternion interpolation methods. 8 years ago
Vladimír Vondruš 737104f2c7 Math: added "shortest path" alternatives to lerp(), slerp() and sclerp(). 8 years ago
Vladimír Vondruš 425d31fb5c Math: no, this is testing it wrong. 8 years ago
Vladimír Vondruš f583d1c853 Math: cleaned up the sclerp() test. 8 years ago
Vladimír Vondruš 6c8a2a46b8 Math: implement cubic Bezier <-> cubic Hermite conversion. 8 years ago
Vladimír Vondruš e997344b8c Math: new CubicHermite class. 8 years ago
Vladimír Vondruš 8c7c74c22e Math: mutable getters for Complex, Dual and Quaternion. 8 years ago
Vladimír Vondruš c2c6b9f22b Math: added lerp() and slerp() for complex numbers. 8 years ago
Vladimír Vondruš bb9b41057f Math: separate assertion tests into a dedicated test case. 8 years ago
Vladimír Vondruš a77a46c926 Math: debug output for Half with proper amount of decimal places. 8 years ago
Vladimír Vondruš 87a951fc5d Math: I have no idea what happened here. 8 years ago
Vladimír Vondruš bff7ae8d7e Math: added Range::fromCenter(). 8 years ago
Vladimír Vondruš b9c96d76e8 Math: ability to use [Dual]Complex and [Dual]Quaternion in configuration. 8 years ago
Vladimír Vondruš 4de8a1d3d2 Math: minor cleanup. 8 years ago
Vladimír Vondruš e54b1fdbc4 Math: hmm, MSVC 2015 and constexpr. Fun. 8 years ago
Vladimír Vondruš 64f8a90095 Math: ability to construct a Range from std::pair. 8 years ago
Vladimír Vondruš fe10dbece8 Math: use plane equation in Intersection::planeLine(). 8 years ago
Vladimír Vondruš 49068f066d Math: added planeEquation() helper. 8 years ago
Vladimír Vondruš 8a35299636 Math: added Math::Range::contains() with Range as a parameter. 8 years ago
Vladimír Vondruš 6cb57534e6 Math: implemented intersect() and intersects() for Range. 8 years ago
Vladimír Vondruš 59852ace85 Math: ability to slice Range into lower dimensions. 8 years ago
Vladimír Vondruš d88e79cd9e Math: new Color[34]::fromSrgb[Alpha]() and Color[34]::toSrgb[Alpha]Int(). 8 years ago
Vladimír Vondruš ae2281dfd7 Math: minor cleanup of the Bezier test. 8 years ago
Vladimír Vondruš fbd3dedeb3 Math: add Matrix[34]::rotationShear(), scalingSquared() and scaling(). 8 years ago
Vladimír Vondruš a3b425bd26 Math: properly test op-and-assign operators in Unit. 8 years ago
Vladimír Vondruš 0c49c56768 Math: forgot to execute test for Vector::minmax(). 8 years ago
Vladimír Vondruš da7d443b67 Math: added lerp(T, T, bool). 8 years ago
Vladimír Vondruš 002d2260fd Math: added select(). 8 years ago
Vladimír Vondruš 5d60f0d350 Math: moved Geometry::Distance and Intersection directly into Math. 8 years ago