Vladimír Vondruš
8d4fa320a6
Platform: fix a comment.
6 years ago
Vladimír Vondruš
99a5e1d246
Math: test that slerp() is immune against too long quats as well.
6 years ago
Vladimír Vondruš
b2b8d11d2f
Math: fix indent.
6 years ago
Vladimír Vondruš
498f4c59e1
Math: fix angle() returning NaN for close arguments.
6 years ago
Vladimír Vondruš
6a6f144e82
Math: wait, no, this function isn't used on two places anymore.
6 years ago
Vladimír Vondruš
1c46bdb959
Math: move clamp() definition from Functions.h to Vector.h.
...
Need it for angle().
6 years ago
Vladimír Vondruš
94cba139ff
Math: improve and clean up angle() tests.
6 years ago
Vladimír Vondruš
c83f43fd92
package/ci: add a TSan build.
...
Currently not really any MT things to test, but that will change soon.
6 years ago
Vladimír Vondruš
13c1fcdbfc
Shaders: forgot to list this file.
...
Made the WebGL test fail.
6 years ago
Vladimír Vondruš
55685ea382
Shaders: implement instancing in Phong.
6 years ago
Vladimír Vondruš
a1f1f66c04
Shaders: implement instancing in Flat.
6 years ago
Vladimír Vondruš
e6010388c3
Shaders: reorganize the Flat and Phong docs.
...
Dry blabber followed by dry code is worse than those two interleaved.
6 years ago
Vladimír Vondruš
638f96f099
Shaders: be sure to list required extensions in generic attribs.
...
Those aren't needed when the attributes are not used non-instanced, but
that's extremely unlikely.
6 years ago
Vladimír Vondruš
c9ea6aba2e
Shaders: grumble.
6 years ago
Vladimír Vondruš
8146051634
GL: doc++
6 years ago
Vladimír Vondruš
1da3b04d19
Animation: this documentation is clearly wrong.
6 years ago
Vladimír Vondruš
e5075803eb
GL: state reset needs to unbind PBOs when entering external code.
...
Qt is not PBO-aware and it messes with its state when resizing a window.
6 years ago
Vladimír Vondruš
a119ee2bb2
GL: fix compilation with ANGLE on macOS.
...
This assumed that non-iOS Apple platform is always desktop GL. Wrong.
6 years ago
Vladimír Vondruš
a22d6678a5
Math: I'm extremely stupid lately.
...
This got unnoticed since ... November? Argh.
6 years ago
Vladimír Vondruš
3e310cbd94
Shaders: note to self: *save* before commiting.
6 years ago
Vladimír Vondruš
9da27ce8dd
Shaders: ensure test description is set before skipping it.
6 years ago
Vladimír Vondruš
06ab5b33cd
Shaders: fix strict aliasing warnings.
6 years ago
Vladimír Vondruš
44609d845f
doc: fix the recommended texture format.
...
Forgot that ES wants the component count to match.
6 years ago
Vladimír Vondruš
e3841ade7e
Shaders: object and primitive ID visualization in MeshVisualizer.
6 years ago
Vladimír Vondruš
60968779da
Shaders: avoid using deprecated functionality in a test.
6 years ago
Vladimír Vondruš
46d492fcc9
Shaders: list forgotten MeshVisualizer test files.
6 years ago
Vladimír Vondruš
6b0d29bec2
Shaders: turn a construction test into an instanced one.
...
Got more cases to test for.
6 years ago
Vladimír Vondruš
d32fcecf68
MeshTools: fix self-contradictory docs.
6 years ago
Vladimír Vondruš
d569ad2e78
MeshTools: combineFaceAttributes() overload with direct attributes.
...
Needed to add a per-face attribute to an existing mesh in a test and
this seemed like a good idea to have available in general.
6 years ago
Vladimír Vondruš
11df186a44
MeshTools: support an extreme corner case in interleavedData().
...
I need this for combineFaceAttributes() internals, I don't expect this
to be useful for actual humans.
6 years ago
Vladimír Vondruš
1cb7193034
Shaders: reorder MeshVisualizer docs.
6 years ago
Vladimír Vondruš
f16a1b7731
Bloody hell.
6 years ago
Vladimír Vondruš
be337787b2
Math: explicitly include <type_traits> in TypeTraits.h.
...
We need it there, but somehow it was not being explicitly (transitively)
pulled in by any header.
6 years ago
Vladimír Vondruš
f2f66d764f
Math: make TypeTraits::epsilon() consistent with Corrade.
...
The precision stays the same, but the long double variant is now exposed
on Emscripten as well, following a similar change in Corrade.
Additionally, the alien-looking _EQUALITY_PRECISION macros are now
unused and deprecated. For some reason these weren't ever prefixed with
MAGNUM_, and the ability to override those is an extremely rare use case
that would break half of the assumptions everywhere, so better not allow
that at all.
The TypeTraits test is further extended to compare directly the epsilons
between Magnum and Corrade, in addition to verifying that TestSuite and
TypeTraits have the same comparison results.
6 years ago
Vladimír Vondruš
ea3bcb6d93
MeshTools: handle the ObjectId attribute in compile().
...
And that's the last warning fixed.
6 years ago
Vladimír Vondruš
02525527a4
Shaders: ability to render instanced object ID in Flat/Phong.
6 years ago
Vladimír Vondruš
3759d26a7d
Shaders: NO, these are not layers.
6 years ago
Vladimír Vondruš
5a43db88ce
doc: make the 3rd party license info page more discoverable.
6 years ago
Vladimír Vondruš
3b40d91f6c
DebugTools: added a few preset colormaps.
6 years ago
Vladimír Vondruš
27f4a7073e
AnySceneImporter: treat both *.gltf and *.glb the same.
6 years ago
Vladimír Vondruš
1c51b98d76
Trade: new magnum-sceneconverter tool.
...
Currently provides just the --info option similarly to
magnum-imageconverter, nothing else.
6 years ago
Vladimír Vondruš
92655c7238
Trade: implement magnum-imageconverter --info.
...
Useful for inspecting unknown files.
6 years ago
Vladimír Vondruš
0df0bd58ef
Trade: improve docs of magnum-imageconverter.
6 years ago
Vladimír Vondruš
18f9581d4e
Trade: extract reusable code out of magnum-imageconverter.
...
Will be needed by magnum-sceneconverter as well.
6 years ago
Vladimír Vondruš
a7a0acd3a4
MeshTools: add a primitiveCount() utility.
...
I need it in magnum-player.
6 years ago
Vladimír Vondruš
c3299ad3c5
Trade: print a message when named thing is not found.
...
Otherwise it's hard to distinguish whether it's a particular importer
fault (failing without a message) or if the name is not found.
6 years ago
Vladimír Vondruš
4a6e5ff5a4
Trade: reduce needless duplication in AbstractImporter test.
...
Should have done this since the beginning, would save my carpal tunnels
a bit.
6 years ago
Vladimír Vondruš
081dd8981f
Doxygen, FFS.
6 years ago
Vladimír Vondruš
8085ebba09
Trade: fix tangent retrieval from four-component normalized types.
...
By accident this code path was not tested, and of course it had a bug.
6 years ago
Vladimír Vondruš
0c3a7fabae
Trade: recognize also Matrix3/Matrix4 types.
6 years ago