Vladimír Vondruš
09836c7115
MeshTools: shorten the benchmark name to avoid too wide CTest output.
10 years ago
Vladimír Vondruš
85979ad996
package: don't run OpenAL tests on Emscripten.
...
Node.js doesn't support WebAudio.
10 years ago
Vladimír Vondruš
d58d26aeff
Audio: ability to run tests requiring OpenAL context separately.
...
Added a new enabled-by-default BUILD_AL_TESTS CMake option. The test
cases that actually require OpenAL context were split to new tests with
`*ALTest` suffix so they can be executed selectively.
10 years ago
Vladimír Vondruš
73192301c4
doc: fix and improve outdated documentation about GL tests.
10 years ago
Vladimír Vondruš
45f4e18f1e
Audio, WavAudioImporter: bundle test files for Emscripten.
10 years ago
Vladimír Vondruš
c5d377b771
external: define AL_APIENTRY if not defined.
...
Fixes compilation under Emscripten.
10 years ago
Vladimír Vondruš
0250d304dc
package: enable Audio library in all Emscripten packages and CIs.
10 years ago
Vladimír Vondruš
e7c2833ccd
package/ci: use all cores when building with MinGW.
...
Oh, so that's why it was so slow.
10 years ago
Vladimír Vondruš
8586fa575d
modules: adapt FindOpenAL.cmake to Emscripten.
...
Emscripten bundles the OpenAL library implicitly, so there's no
OPENAL_LIBRARY needed. Also minor other changes required for extracting
the module out of the official location.
10 years ago
Vladimír Vondruš
8a603c8471
modules: adopt upstream FindOpenAL.cmake.
...
Taken from version 3.6.1,
https://github.com/Kitware/CMake/blob/v3.6.1/Modules/FindOpenAL.cmake .
Will be modified for Emscripten support.
10 years ago
Vladimír Vondruš
aff85ce925
MeshTools: port the dead benchmark code to Corrade TestSuite.
10 years ago
Vladimír Vondruš
ae954c70fc
MeshTools: update outdated documentation.
10 years ago
Vladimír Vondruš
b0f6be40e1
Fix deprecation warnings and add more deprecation attributes.
...
I should really at least commpile before pushing.
10 years ago
Vladimír Vondruš
4ea0722745
package/ci: build as Debug to get more precise coverage reports.
10 years ago
Vladimír Vondruš
c977f96d07
doc: document extra CMake modules.
10 years ago
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