Vladimír Vondruš
be36c8a071
Trade: convenience access to separate TRS components in SceneData.
...
Because just the combined transformation may not be enough for handling
animations. For example.
4 years ago
Vladimír Vondruš
c61ed94a5f
Trade: SceneData TRS components can each have different type, test that.
4 years ago
Vladimír Vondruš
7192517e6a
Trade: combine mesh and material SceneData convenience APIs together.
...
In most cases the user would want to fetch both anyway, and since
they're forced to share the same object mapping this is easy to do.
4 years ago
Vladimír Vondruš
56047b030e
Trade: make SceneField::MeshMaterial signed.
...
Because the material index has to share the object mapping with a mesh,
there needs to be a way to express meshes without associated materials.
4 years ago
Vladimír Vondruš
4e8fa9d847
Trade: add SceneData::fooInto() overloads for subranges.
...
Useful for cases when it's desirable to extract just some elements, for
example just for a particular object ID. Or when allocating an
arbitrarily large array isn't wanted for perf/memory reasons.
4 years ago
Vladimír Vondruš
59d6709007
Trade: avoid double lookup in SceneData::fooAsArray().
...
These need to query field size for allocating the output array which
means looking up the field by name, but the same lookup was then done
again in the fooInto() implementation.
4 years ago
Vladimír Vondruš
73b32def51
Trade: hi, MSVC 2015, you ancient curse.
4 years ago
Vladimír Vondruš
a7f48519f6
Trade: MSVC 2017, what are you doing.
...
How is the data const? Why?
4 years ago
Vladimír Vondruš
b54a60fddd
Trade: initial redesign of the SceneData class.
...
No backwards compatibility in place yet, will get added back in the
followup commits, together with proper documentation.
4 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
91631139f7
Test: use shorter std::is_copy_{constructible,assignable} everywhere.
...
I wonder why I didn't do this from the beginning, back in 2010 or so.
5 years ago
Vladimír Vondruš
19e0e96d74
Updated copyright year.
6 years ago
Vladimír Vondruš
9ea46261ad
Trade: test that all *Data move constructors/assignments are noexcept.
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š
f8ec9c56f8
Split the OpenGL layer out, pt 18: adapted Trade.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
7a16273e5d
Updated copyright year.
9 years ago
Vladimír Vondruš
db18016ef0
Trade: test construction and assignments of the container classes.
10 years ago