Vladimír Vondruš
f7dcb62e93
MeshTools: return just a mesh from fullScreenTriangle().
...
Backwards-incompatible change, sorry.
7 years ago
Vladimír Vondruš
2149f7b869
Wrap all tests in unnamed namespaces.
...
This makes the compiler warn about test cases that aren't ever used,
which is a good thing.
7 years ago
Vladimír Vondruš
e6b7aa12fa
Updated copyright year.
7 years ago
Vladimír Vondruš
4deb2a5fe7
MeshTools: inline functions should not be heavy.
...
Returning a vector is as heavy as you can imagine.
7 years ago
Squareys
e6fd70fe00
MeshTools: compile mesh colors to Color4 attribute
...
Signed-off-by: Squareys <squareys@googlemail.com>
8 years ago
Vladimír Vondruš
89ab8c43e0
MeshTools: why put docs for transform() to an obscure dualquat overload?
...
The type is not even usable for scaling. Putting the docs to the Matrix4
overload instead. Thanks to @uzername for pointing this out.
8 years ago
Vladimír Vondruš
8dc1f8a7da
MeshTools: make the generateFlatNormals() docs less handwavy.
...
If it takes *me* ten minutes to figure out how this needs to be used,
then it probably should be documented.
8 years ago
Vladimír Vondruš
0adf7ea323
MeshTools: make the tests compile even if Primitives are not enabled.
...
Disabling that one benchmark which depends on Primitives.
8 years ago
Vladimír Vondruš
b0186c3022
MeshTools: explicitly set buffer target hints in compile().
...
These were the defaults anyway, but it's good to be explicit.
8 years ago
Vladimír Vondruš
424eec4818
MeshTools: simplify compile().
...
I wanted to do this since *ever*.
8 years ago
Vladimír Vondruš
4e757a3f64
Split the OpenGL layer out, pt 26: remove dependencies on the GL lib.
...
Primitives, MeshTools, Trade and TextureTools are not depending on the
GL library anymore.
8 years ago
Vladimír Vondruš
f279549044
Split the OpenGL layer out, pt 18: adapted MeshTools.
8 years ago
Vladimír Vondruš
b1de952c13
Split the OpenGL layer out, pt 6: adapted buildsystem of dependent libs.
...
Now the rest should build with a lot of deprecation warnings.
8 years ago
Vladimír Vondruš
3e23568202
MeshTools: don't link the test lib to a different version of itself.
8 years ago
Vladimír Vondruš
920db7aa73
Split the Trade library out.
8 years ago
Vladimír Vondruš
fb483be512
MeshTools: suppress MSVC warning when using interleave().
8 years ago
Vladimír Vondruš
c139e0384d
Primitives: get rid of useless classes.
...
All functionality is now available through free functions. The classes
are now just deprecated wrappers and/or typedefs and will be removed in
some future release.
8 years ago
Vladimír Vondruš
d905809818
doc: compiled code snippets for the MeshTools namespace.
...
This was quite okay, in fact.
8 years ago
Vladimír Vondruš
8f27da9dfd
Set library soversion to 1.0, version to 0.
8 years ago
Vladimír Vondruš
28475e1bd8
Doc++
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
1ec14c678b
Local Doxygen ignores for symbol export macros.
...
It was impossible to put all macros including the ones from other
projects into the global Doxyfile. Much cleaner now <3
8 years ago
Vladimír Vondruš
eee9cbb353
MeshTools: updates for the new documentation theme.
8 years ago
Vladimír Vondruš
b109d520a9
MeshTools: doc++
9 years ago
Vladimír Vondruš
12fa6961c8
Use CMake folders also for OBJECT libraries, executables and tests.
9 years ago
Émile Grégoire
dae1e8e9cf
Started adding folders for Visual Studio.
...
See https://gitter.im/mosra/magnum/archives/2017/03/25
9 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
4509dbb1b1
Don't use deprecated Corrade functionality.
9 years ago
Vladimír Vondruš
db3ef59ddc
MeshTools: don't use deprecated functionality.
9 years ago
Vladimír Vondruš
aaa38d3570
MeshTools: got rid of <limits> dependency in removeDuplicates().
9 years ago
Vladimír Vondruš
09836c7115
MeshTools: shorten the benchmark name to avoid too wide CTest output.
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š
01ffbe93a9
Modern CMake usage: reworked to use target-specific properties.
...
As with Corrade, this is not exactly backwards compatible, but for
common use case without OBJECT libraries this should not be a problem.
In any case, recreate the build dir and update your copy of all
Find*.cmake modules to avoid weird things happening.
User-facing changes:
* Documentation of all Find*.cmake modules converted to
reStructuredText to follow official CMake guidelines.
* The newfangled way to use the libraries is to link to Magnum::Shaders
instead of adding ${MAGNUM_SHADERS_INCLUDE_DIRS} to include path and
linking to ${MAGNUM_SHADERS_LIBRARIES}.
* The old ${MAGNUM_*_LIBRARIES} are deprecated and now just expand to
Magnum::* target. Use the target directly. These are also enabled
only when building with MAGNUM_BUILD_DEPRECATED.
* The old ${MAGNUM_*_INCLUDE_DIRS} are removed as the Magnum::* targets
cover these too.
Internal changes:
* Global state such as include_directories() was replaced with
target-specific settings.
10 years ago
Vladimír Vondruš
23646e6690
Hell, this project is big.
10 years ago
Vladimír Vondruš
30fc1411bb
Adapted to Corrade changes.
10 years ago
Vladimír Vondruš
ce075752e9
MeshTools: removed unneeded enable_if.
10 years ago
Vladimír Vondruš
d1714bfd1e
Context::current() now returns reference instead of pointer.
...
103% of use cases use the returned value directly without checking, so
we might as well do the check ourselves. Added new function hasCurrent()
and added deprecated backward-compatibility conversion and -> operators.
Wow, that creeped to a lot of places.
Last dinosaur from the pointer age.
10 years ago
Vladimír Vondruš
d36f45ac98
Fixed compiler warnings when building with CORRADE_NO_ASSERT.
10 years ago
Vladimír Vondruš
9bc98c3f10
CMake subproject support, part 2: export MAGNUM_* variables.
...
This way the FindMagnum.cmake module will have everything found already
and so it will do only some additional management on top.
11 years ago
Vladimír Vondruš
540e36b2e3
MeshTools: fix the fix for CORRADE_NO_ASSERT build.
11 years ago
Vladimír Vondruš
2f770bb210
MeshTools: fix warnings in build with CORRADE_NO_ASSERT.
11 years ago
Vladimír Vondruš
1ad5f330b0
MeshTools: silence conversion warning on MSVC.
11 years ago
Vladimír Vondruš
7949ed9700
MeshTools: fix linker errors on Windows.
11 years ago
Vladimír Vondruš
4389a58cce
MeshTools: added compressIndicesAs().
...
Much more convenient and "good enough" alternative to compressIndices().
11 years ago
Vladimír Vondruš
9e766ec352
MeshTools: const++.
11 years ago
Vladimír Vondruš
792500d463
MeshTools: simplify internal implementation of compressIndices().
11 years ago
Vladimír Vondruš
d51f29c57f
Adapted to Corrade changes.
11 years ago
Vladimír Vondruš
99ff54d3d9
Adapted to Corrade changes.
11 years ago
Vladimír Vondruš
7e675acaeb
MeshTools: removed deprecated removeDuplicates() overload.
...
Use the general one instead.
11 years ago