Vladimír Vondruš
db71a23e3c
Bring whole Corrade namespace into Magnum namespace.
...
These projects are tightly interconnected anyway, this means a lot less
typing (yay!).
13 years ago
Vladimír Vondruš
3b861f6f64
SceneGraph: added Object::setParentKeepTransformation().
13 years ago
Vladimír Vondruš
ee1eecad1a
SceneGraph: wrong assertion.
...
It is easier to just skip the object than explicitly removing
duplicates (or worse, cleaning it more than once).
13 years ago
Vladimír Vondruš
fac75962d0
SceneGraph: assert that original Object::setClean() is called.
13 years ago
Vladimír Vondruš
218a4c142c
SceneGraph: fixed Object::setClean().
...
Now also all non-clean parent objects are cleaned.
13 years ago
Vladimír Vondruš
d85c15bca9
SceneGraph: this was fixed in 59a3a7029d.
13 years ago
Vladimír Vondruš
6a5d75d1e4
Relicensing to MIT/Expat license, part 2: headers.
13 years ago
Vladimír Vondruš
4e5a6f76eb
SceneGraph: using new type aliases in whole SceneGraph namespace.
13 years ago
Vladimír Vondruš
3610a80dfd
Clang fixes for templated base classes.
...
Unlike GCC it does need the `template` keyword on weird places.
13 years ago
Vladimír Vondruš
63086fdebe
SceneGraph: de-inlined some constructors & destructor, hidden internals.
...
Might help reducing application size.
13 years ago
Vladimír Vondruš
59a3a7029d
SceneGraph: allow duplicate occurences in Object::transformations().
...
Fixes common case where one Object has multiple Drawable features
attached (one for regular mesh and one e.g. debug renderer).
13 years ago
Vladimír Vondruš
177898f93c
SceneGraph: code cleanup, documentation, fixed assertions.
...
The original assertion didn't actually check anything, because the list
was always empty. Moved/copied it to relevant places.
13 years ago
Vladimír Vondruš
7183110eee
Doc++, @todo++
14 years ago
Vladimír Vondruš
aa05235c65
SceneGraph: function for bulk cleaning of objects.
14 years ago
Vladimír Vondruš
466008bba8
SceneGraph: externalized object cleaning function.
...
Will be used elsewhere.
14 years ago
Vladimír Vondruš
4e53b17f8d
SceneGraph rework, part 5: bulk transformation computing.
14 years ago
Vladimír Vondruš
342d2f46ac
SceneGraph: allow features to access scene and object's dirty status.
...
The downside of this is that the functions are now virtual, which makes
them slower than before. Maybe final qualifier would help?
AbstractObject::sceneObject() is marked as private in Object to avoid
confusion.
14 years ago
Vladimír Vondruš
06398dcf7c
SceneGraph rework, part 3: splitting base object.
...
Functionality present in Object is now split into three main components:
* Object itself, handling parent/children relationships
* Transformation implementation and interfaces for common functionality
* Object features, providing transformation caching and base for
cameras, collision shapes, rigid bodies etc.
Some functionality depending on former implementation is temporarily
disabled and will be reworked later.
14 years ago