453 Commits (489c7128fd8c8a73d840b6f5db9bcb8e8c75d09b)

Author SHA1 Message Date
Vladimír Vondruš 489c7128fd Math: introduce Nanoseconds and Seconds types. 2 years ago
Vladimír Vondruš 6978cb571f Math: implement integer modulo for Unit. 2 years ago
Vladimír Vondruš c517a6f0ee Math: enforce that the interpolation phase in select() is unitless. 2 years ago
Vladimír Vondruš 181a3a3511 Math: sign() should return a unitless type. 2 years ago
Vladimír Vondruš e6c709bd43 Math: make Deg/Rad conversion constructors noexcept as well. 2 years ago
Vladimír Vondruš e670d14585 Math: test & document why Deg/Rad needs a "copy constructor". 2 years ago
Vladimír Vondruš cac82eab9d Math: implement integer and float multiply and divide for Unit. 2 years ago
Vladimír Vondruš 53631cbea9 Math: explicitly test both runtime and constexpr Unit APIs. 2 years ago
Vladimír Vondruš 3145658a02 Math: minor. 2 years ago
Vladimír Vondruš 37ec9f2573 Math: no point in checking DOXYGEN_GENERATING_OUTPUT in test code. 2 years ago
Vladimír Vondruš 2525f73ae3 Math: unused include. 2 years ago
Vladimír Vondruš 0ace7c530f Math: add Quaternion::rotation() taking two vectors. 2 years ago
Vladimír Vondruš 22f17108d5 Math: MSVC 2015 strikes again! 2 years ago
Vladimír Vondruš 6f69ab8e29 Math: make const Vector operators constexpr. 2 years ago
Vladimír Vondruš 53ab6b4218 Math: properly test constexpr in Vector4::rgb(). 2 years ago
Vladimír Vondruš e94c3ffbf0 Math: make unary Vector operator+() constexpr. 2 years ago
Vladimír Vondruš 9cb623eaf9 Math: make MSVC 2015 correctly pick up the float*VectorNi operator. 2 years ago
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