Vladimír Vondruš
7bd41d2b93
Implemented support for desktop GLES on Windows.
...
Because the library still links to the old crappy opengl32.dll, we need
to load all symbols above OpenGL 1.1, not just those that are above
OpenGL ES 2.0/3.0.
10 years ago
Vladimír Vondruš
d44d50293f
Platform: added missing define for desktop GLES on Windows.
10 years ago
Vladimír Vondruš
c93cc0ba08
Added nv-windows-dangling-transform-feedback-varying-names workaround.
...
On Windows NVidia drivers the glTransformFeedbackVaryings() does not
make a copy of its char* arguments so it fails at link time when the
original char arrays are not in scope anymore. Enabling *synchronous*
debug output circumvents this bug. Can be triggered by running
TransformFeedbackGLTest with GL_KHR_debug extension disabled.
10 years ago
Vladimír Vondruš
a2e3c3a3f4
Math: added Algorithms::gaussJordanInverted().
10 years ago
Vladimír Vondruš
3764f5b830
Math: don't zero-initialize output variables if not necessary.
...
Could possibly save some cycles.
10 years ago
Vladimír Vondruš
87074202c8
Math: support infinite far plane in Matrix::perspectiveProjection().
10 years ago
Vladimír Vondruš
9fdf467c59
Math: added *Matrix::setRow().
...
Row equivalent for the mutable operator[]().
10 years ago
Vladimír Vondruš
98735f50f4
Math: document the math behind 2D/3D matrix transformations.
10 years ago
Vladimír Vondruš
a29d3c31ba
WavAudioImporter: fix typo causing Emscripten build to fail.
10 years ago
Vladimír Vondruš
2e91bb4372
Math: work around MSVC constexpr issues yet again.
10 years ago
Vladimír Vondruš
70eb0e816f
WavAudioImporter: use MuLaw consistently.
10 years ago
Vladimír Vondruš
d3fc5f9410
WavAudioImporter: put new enums into the Debug output operator.
...
Adapted tests and changed case of the AdPcm value.
10 years ago
Alice
d3239b6be6
Audio: minor correction of documentation for ALAW and MULAW.
10 years ago
Alice
921a11564d
WavAudioImporter: improve tests.
10 years ago
Vladimír Vondruš
b033af3b59
Math: ability to convert Color from/to external representation.
10 years ago
Alice
048a1b2b90
Add tests to improve coverage
10 years ago
Vladimír Vondruš
238d2db591
Audio: implemented ALC_ENUMERATION_EXT.
10 years ago
Vladimír Vondruš
32b757f036
Audio: properly initialize HRTF member of Audio::Context::Configuration.
10 years ago
Vladimír Vondruš
53036b2c2c
Platform: magnum-info is console app, so it's not Retina capable.
10 years ago
Vladimír Vondruš
c5eeb8c555
Audio: added magnum-al-info utility.
10 years ago
Vladimír Vondruš
d6a8c44a0d
Updated CREDITS.md.
10 years ago
Vladimír Vondruš
4add1621fb
WavAudioImporter: reflect new features in plugin documentation.
10 years ago
Vladimír Vondruš
54d62303e4
Audio: doc++
10 years ago
Vladimír Vondruš
b0d6b2b14a
WavAudioImporter: have an enum for WAV audio formats.
...
Together with debug output it allowed me to reduce the amount of error
branches.
10 years ago
Vladimír Vondruš
f270705f36
MagnumPlugins: exporting symbols of all plugins.
...
For consistency. Already done for the magnum-plugins repo and somehow
forgotten here.
10 years ago
Vladimír Vondruš
a73e447545
Doxygen warning cleanup.
10 years ago
Vladimír Vondruš
cbdad2dfe0
WavAudioImporter: minor cleanup, improved static assertions.
10 years ago
Alice
1897e36b19
Extend WavImporter to support more formats, be more flexible, and give better errors
10 years ago
Vladimír Vondruš
8d38f1d258
Add even more special case workarounds to deprecated build of ImageView.
...
The test now compiles and passes again.
10 years ago
Vladimír Vondruš
fb8e8f3d56
Test that passing any Array(View) to ImageView works on deprecated build.
...
It fails to compile with ambiguous overloads. Shouldn't be this way.
10 years ago
Vladimír Vondruš
09836c7115
MeshTools: shorten the benchmark name to avoid too wide CTest output.
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š
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š
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š
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š
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