Vladimír Vondruš
d0124b268e
MeshTools: explicitly use default array deleters in copy().
...
To make sure it can be used in plugin implementations.
3 years ago
Vladimír Vondruš
47a6bf0185
MeshTools: deprecate owned() in favor of copy().
...
A bit sad it took me three years to invent the right name for this
utility, heh. Also moving it together with others to a new
MeshTools/Copy.h header because *this* is the mainly useful API, not
reference() / mutableReference().
MaterialTools and SceneTools will get similar copy() APIs doing the same
thing.
3 years ago
Vladimír Vondruš
0b66b85c20
Primitives: mark primitive data as global where appropriate.
3 years ago
Vladimír Vondruš
6bdffb2796
Test: make use of CORRADE_SKIP_IF_NO_ASSERT().
4 years ago
Vladimír Vondruš
b0bfcbe00e
Adapt to Corrade changes.
4 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
7fcf483389
MeshTools: make *reference() and owned() aware of impl-spec index types.
4 years ago
Vladimír Vondruš
6e790860b5
MeshTools: clean up and improve reference() and owned() tests.
...
Explicitly testing the case of non-indexed meshes, renaming some
variables to match what they actually contain.
4 years ago
Vladimír Vondruš
91aff011a8
MeshTools: make owned() properly preserve strided indices.
...
The reference() and mutableReference() utils preserve that implicitly as
MeshData::indices() now returns a strided array view containing all
needed information.
4 years ago
Vladimír Vondruš
ba148c6081
MeshTools: "test" index offset propagation in owned().
...
Well. Not great as all primitives have zero offset anyway. The strided
index buffer test in the next commit will tighten that up.
4 years ago
Vladimír Vondruš
0119d614a5
MeshTools: test that owned() works with impl-specific vert formats.
...
Yes it does!
4 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
fdb754bc27
MeshTools: add owned() and reference() utils.
...
Finally.
6 years ago