436 Commits (98d8bc3a1f3098dcc1ca7617f6d5203dbcbcbe1a)

Author SHA1 Message Date
Vladimír Vondruš 8b1026d457 Math: make all matrix and vector operators either member or friend. 2 years ago
Vladimír Vondruš 9f754539f3 Math: improve test coverage of basic vector and matrix operators. 2 years ago
Vladimír Vondruš 8c7679c7b1 Math: use typedefs from Magnum.h in all tests. 2 years ago
Vladimír Vondruš cc3631a243 Math: add a join() overload for joining a Range and a point. 2 years ago
Vladimír Vondruš 4c21575045 Math: fix Matrix::isOrthogonal() to catch negative dot product values. 2 years ago
Vladimír Vondruš ff312be96e Math: make _rgbf and _rgbaf literals constexpr. 3 years ago
Vladimír Vondruš 72b36347c3 Math: add Range::scaled() and scaledFromCenter() taking a scalar. 3 years ago
Vladimír Vondruš a2d2856c41 Math: properly test scaledFromCenter() for Range subclasses. 3 years ago
Vladimír Vondruš 0201b18f64 Math: support packed debug output for Range. 3 years ago
Vladimír Vondruš 04419335d4 Math: remove remaining uses of std::pair. 3 years ago
Vladimír Vondruš b2c353bf21 Math: use Math typedefs from Magnum.h where possible in tests. 3 years ago
Vladimír Vondruš 5c0faea99e Math: trailing whitespace?! 3 years ago
Vladimír Vondruš 4825ed0608 Math: stop wasting time with the explicit Corrade:: prefix. 3 years ago
Vladimír Vondruš be7fe397c4 Math: use <> for dependency includes. 3 years ago
Vladimír Vondruš 4b645f1698 Adapt to Corrade changes. 3 years ago
Vladimír Vondruš 59bb7b8cd5 Adapt to Corrade changes. 3 years ago
Vladimír Vondruš 5d1369f570 Use Utility::move() and swap() instead of STL almost everywhere. 3 years ago
Vladimír Vondruš 0d31f7461b Math: add near/far plane distance queries to Matrix4. 3 years ago
Vladimír Vondruš 1fa9862ad6 Math: deprecate angle() for quaternions because it's wrong. 3 years ago
Vladimír Vondruš bbb54a9df8 It's 2023 already! 3 years ago
Vladimír Vondruš e5a2b29f39 Math: disable KTX Y-flip on load in a test data generator script. 3 years ago
Vladimír Vondruš 410441791c Math: implement BC2 flipping as well. 3 years ago
Vladimír Vondruš 3ccb7a9fc9 Math: utilities for flipping BC1/3/4/5 blocks. 3 years ago
Vladimír Vondruš e02104df22 Math: print a note in the test if char is unsigned. 3 years ago
Vladimír Vondruš fee1d23445 Math: expand silly warning suppression in a test to GCC 13. 3 years ago
Vladimír Vondruš f43fa6ff95 Math: add APIs for quaternion reflection. 3 years ago
Vladimír Vondruš be9a3c247d Math: change all assertions to debug-only. 3 years ago
Vladimír Vondruš 3e1ce9f35c Math: add branch-less BitVector::set() and reset(). 3 years ago
Vladimír Vondruš dfe37f61d1 Math: redo Matrix4::normalMatrix() as an inverse transpose. 3 years ago
Vladimír Vondruš d4cc7dc318 Math: MSVC 2015, nobody asked you to fail here. 3 years ago
Vladimír Vondruš 62c395708e Math: ability to construct a Color3 from RG and B. 3 years ago
Vladimír Vondruš 862c48517f Math: add Vector2::{r,g}() and Vector3::rg(). 3 years ago
Vladimír Vondruš dff1a1ce60 Math: add also castInto(T[], T[]) overloads. 3 years ago
Vladimír Vondruš 43acb7a5c4 Math: castInto() between [Unsigned]Int and [Unsigned]Long wasn't tested. 3 years ago
Vladimír Vondruš 4a87a0bc4b Math: add Color[34]::{from,to}LinearRgb[a]Int(). 3 years ago
Vladimír Vondruš c2cccd64d6 Math: not sure what was the original reason for this typedef suffering. 3 years ago
Vladimír Vondruš 897d1002c3 Math: rename Color[34]::fromSrgb*(UnsignedInt) to fromSrgb*Int(). 3 years ago
Vladimír Vondruš 826329258a Math: adapt to changes in Corrade's TweakableParser also for Angle. 3 years ago
Vladimír Vondruš 4ef33236eb Adapt to changes in Corrade's Utility::TweakableParser. 3 years ago
Vladimír Vondruš 46e6d61803 Math: make {un,}pack{Half,}Into() and castInto() assertions clearer. 4 years ago
Vladimír Vondruš 9d22a03c92 Math: fix tweakable Angle parsers to compile with negative literals. 4 years ago
Stanislaw Halik c1578c0d79 Math: workaround MSVC2022 bug with constexpr conversions and C++20 4 years ago
Vladimír Vondruš 0a32bce31b Math: add unary operator+ to all types. 4 years ago
Vladimír Vondruš d1f283d962 Math: fix batch min()/max()/minmax() to work with const input views. 4 years ago
Vladimír Vondruš 5312a016f4 Math: rename BoolVector to BitVector. 4 years ago
Vladimír Vondruš 6bdffb2796 Test: make use of CORRADE_SKIP_IF_NO_ASSERT(). 4 years ago
Vladimír Vondruš e0909fedfe Math: add castInto() variants for Double<->integer. 4 years ago
Vladimír Vondruš d474f9d176 Math: return an array reference instead of a pointer from data(). 4 years ago
Vladimír Vondruš 2adea7674f Math: *not* a good idea to test assertions alongside everything else. 4 years ago
Vladimír Vondruš 9874c44262 Don't rely on __GNUC__ being always 4 on Clang. 4 years ago