Vladimír Vondruš
c7d63511b3
doc: mention all CI targets, update the README and mainpage, add badges.
10 years ago
Vladimír Vondruš
4064c563c9
package/ci: build for x64 on MSVC.
10 years ago
Vladimír Vondruš
967448069c
Forgotten include guards.
...
Thanks again, KDevelop 5!
10 years ago
Vladimír Vondruš
b8ae185099
Properly mark all deprecated APIs.
...
Thanks also for this, KDevelop 5!
10 years ago
Vladimír Vondruš
1385472824
Remove bogus \return value documentation.
...
Thanks, KDevelop 5!
10 years ago
Vladimír Vondruš
1a10ee7515
doc: don't use deprecated functionality.
...
Thanks, Clang integrated into KDevelop!
10 years ago
Vladimír Vondruš
07607f3f63
package/ci: properly set up code coverage include/exclude patterns.
10 years ago
Vladimír Vondruš
a6e457ebff
package/ci: exclude Corrade sources from code coverage.
10 years ago
Vladimír Vondruš
4a395ac490
Math: enlarge epsilon value for long doubles on MSVC.
...
They are internally treated as 64-bit doubles, so there's no difference.
10 years ago
Vladimír Vondruš
cadd28276a
Math: conditionally include <algorithm> for std::max() in MSVC.
...
Don't want to include it for every platform, as it is pretty huge...
10 years ago
Vladimír Vondruš
5ddc877a1d
Math: consider magnitude of translation in DualQuaternion::isNormalized().
...
Fixes the failing tests.
10 years ago
Vladimír Vondruš
aef580ec62
Math: test iterative normalization of Complex/Quaternion transformations.
...
If the values are renormalized after every step, it shouldn't happen
that the value is denormalized even after calling `normalized()`.
The test fails for DualQuaternion with large values, as expected. Will
be fixed in the next commit.
10 years ago
Vladimír Vondruš
1dc1fc79b0
Math: better test cases for {*Complex,Quaternion}::isNormalized().
...
The expectation is that the values are considered normalized only if the
difference is small enough. This should have been tested since the
beginning, but instead this was waved away with a dumb test case testing
obviously denormalized value and obviously normalized value.
The test fails for DualQuaternion with large translation values (as
expected). Will be fixed in following commits.
10 years ago
Vladimír Vondruš
74c75998b0
Math: added TypeTraits::equalsZero().
10 years ago
Vladimír Vondruš
3c17a53fb3
Math: test also long double versions of TypeTraits.
10 years ago
Vladimír Vondruš
70ebf82992
Math: updated fuzzy comparison epsilon values for long double and double.
...
To be consistent with what's for floats. Maybe I'll need to decrease the
precision later again, but at least this has now some real background
instead of being a guesstimate.
10 years ago
Vladimír Vondruš
9ade2cae47
Math: added TypeTraits::name(), using that in the test.
10 years ago
Vladimír Vondruš
48dfdc1da5
Math: properly test constructing Unit with ZeroInit tag.
10 years ago
Vladimír Vondruš
fa36cf648c
Math: document facts for older version of me.
...
I spent some minutes actually implementing that until I realized that
this would lead only to pain and misery.
10 years ago
Vladimír Vondruš
7bebbbb1ec
Math: minor cleanup.
10 years ago
Vladimír Vondruš
844bfcce5a
Math: ability to create Dual with ZeroInit tag.
...
It does slightly different things than the implicit constructor for some
types.
10 years ago
Vladimír Vondruš
40d60f6a3f
Math: make all constructor noexcept and test their behavior.
10 years ago
Vladimír Vondruš
60524e0367
Math: remove now redundant Color test case.
...
At some point before the default Color constructor was different from
the ZeroInit one. Not anymore.
10 years ago
Vladimír Vondruš
bac5ccd8e6
Math: improve Angle test to be consistent with the rest.
10 years ago
Vladimír Vondruš
42d9679ac0
Exclude unreachable code from code coverage.
10 years ago
Vladimír Vondruš
257800e6fa
Math: reordered Bezier members to saner order.
10 years ago
Vladimír Vondruš
1357186fe1
Math: MSVC 2015 is picky about constexpr again.
...
No clue.
10 years ago
Vladimír Vondruš
b59b8d431e
Math: make Bezier::subdivide() return a pair and test it.
10 years ago
Vladimír Vondruš
8f7fa196a8
Math: renamed Bezier::lerp() to Bezier::value(), simplified test cases.
...
It's interpolation, but *not* linear interpolation, so don't confuse
with the naming. The test cases now compare to ground truth instead of
replicating the calculation.
10 years ago
Vladimír Vondruš
aaa0b0945a
Math: ability to convert Bezier underlying type.
10 years ago
Vladimír Vondruš
73ca103e1a
Math: proper implementation for NoInit and ZeroInit Bezier constructor.
10 years ago
Vladimír Vondruš
4950023f5e
Math: assert that Bezier has non-zero order.
10 years ago
Vladimír Vondruš
6f6d69012f
Math: added comparison operators to Bezier, expanded the test.
10 years ago
Vladimír Vondruš
12e19eff37
Math: ability to save/restore Bezier to/from Configuration.
10 years ago
Vladimír Vondruš
719aff99b2
Math: debug operator for Bezier.
10 years ago
Vladimír Vondruš
62214a288c
Add Bezier typedefs to the root Magnum.h header.
10 years ago
Vladimír Vondruš
4af823a674
Math: add the Bezier class and aliases to the forward declaration header.
10 years ago
Vladimír Vondruš
8bf1f5e5d8
Math: Minor Bézier cleanup and documentation improvements.
...
Removed the points() access function, as it has no real value.
10 years ago
Vladimír Vondruš
4e46a74a38
Updated CREDITS.md.
10 years ago
Ashwin Ravichandran
6b7097497f
Math: added Bezier curve
10 years ago
Vladimír Vondruš
51658cb9dd
doc: improve Getting Started instructions.
10 years ago
Vladimír Vondruš
9019a776a1
package/ci: minor improvements to Travis coverage report.
10 years ago
Vladimír Vondruš
2fbc908de2
Trade: initial support for Light data.
10 years ago
Vladimír Vondruš
737e92bc3e
Math: remove unnecessary assignment operators.
...
Caused problems when specifying `noexcept` in classes with members from
Math namespace.
10 years ago
Vladimír Vondruš
c22e63ef57
package/ci: include Attribute.{h,cpp} in the code coverage report.
10 years ago
Vladimír Vondruš
326fcf91cb
Trade: doc++
10 years ago
Vladimír Vondruš
db18016ef0
Trade: test construction and assignments of the container classes.
10 years ago
Vladimír Vondruš
1bfa4c9846
Trade: make most constructors and assignments noexcept.
10 years ago
Vladimír Vondruš
7d8b2ce9a6
Print value of invalid enums in debug output, test those cases.
10 years ago
Vladimír Vondruš
3ab77b9112
Stress how Array instances returned from plugins should look like.
10 years ago