Vladimír Vondruš
df5b09744f
SceneGraph: fix build with latest Corrade.
...
TBF, I'm increasingly unhappy with this abomination.
7 years ago
Vladimír Vondruš
2d5e2fda41
SceneGraph: properly prefix the assertion message.
7 years ago
Vladimír Vondruš
f9f3df69de
Get rid of std::unique_ptr.
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š
00b0a814e0
Dropped GCC 4.7 support.
...
Interesting that many of the annoyances still apply to 4.8.
8 years ago
Vladimír Vondruš
0557add6e5
SceneGraph: properly forward references in addChild()/addFeature().
8 years ago
Vladimír Vondruš
c1206629a0
SceneGraph: properly test perfect forwarding in addFeature()/addObject().
...
It's not working, obviously.
8 years ago
Vladimír Vondruš
7356a1b788
SceneGraph: fix a copypaste error in an abstract implementation.
...
Abstract transformation implementations are not used as often so there
was only a minor chance somebody would hit this bug, yet it's a serious
bug. Discovered by PVS-Studio, many thanks to @alexesDev for collecting
the report.
8 years ago
Vladimír Vondruš
9a13035603
SceneGraph: doc++
8 years ago
Vladimír Vondruš
5cb518a54e
SceneGraph: note the Animation API in the Animable class docs.
8 years ago
Vladimír Vondruš
fafcdcfa1c
SceneGraph: ability to affect order of items drawn by Camera.
8 years ago
Vladimír Vondruš
b255f31ca4
SceneGraph: show both single and multiple inheritance in Drawable docs.
8 years ago
Vladimír Vondruš
d004db6075
SceneGraph: Camera::setViewport() and draw() don't need to be virtual.
...
If you need to override this functionality, simply call the subclass
implementation directly instead of calling it through a Camera
pointer/reference.
8 years ago
Vladimír Vondruš
623786e1db
SceneGraph: make it possible to search for the Object*D/Scene*D typedefs.
...
Use code is full of these things and this makes it easier to discover.
8 years ago
Vladimír Vondruš
026cb24a14
SceneGraph: GCC 4.7 SRSLY ... and the other compilers as well?!
8 years ago
Vladimír Vondruš
bc7d047fc3
SceneGraph: new TranslationRotationScalingTransformation[23]D class.
...
Useful for using with animation tracks that target the
translation/rotation/scaling properties separately.
8 years ago
Vladimír Vondruš
4edb080239
SceneGraph: prefix private variable with an underscore.
8 years ago
Vladimír Vondruš
308d97314d
SceneGraph: AnimableGroup.h doesn't really compile without this.
8 years ago
Vladimír Vondruš
4f224f672d
SceneGraph: fix ambiguous overloads with Animable and Drawable.
...
If they are inherited from a class together with Object, the
constructor call was ambiguous. This was already done for Camera, but
not for these.
8 years ago
Vladimír Vondruš
bbe6b5a56b
SceneGraph: compile code snippets to ensure their validity.
8 years ago
Vladimír Vondruš
105cef5efd
No need to use fully qualified name for \debugoperator.
8 years ago
Vladimír Vondruš
e0ae65a212
SceneGraph: removed long-deprecated feature and child accessors.
...
Use methods on linked list returned by AbstractObject::features() and
Object::children() instead.
8 years ago
Vladimír Vondruš
53c4adfa79
SceneGraph: removed long-deprecated TransformationType enum and related.
...
Use separate <transform>() and <transform>Local() functions instead-
8 years ago
Vladimír Vondruš
fae2852db7
SceneGraph: removed long-deprecated AbstractCamera class and related headers.
...
Use Camera, BasicCamera2D, BasicCamera3D, Camera2D and Camera3D classes
and the <Magnum/SceneGraph/Camera.h> header instead.
8 years ago
Vladimír Vondruš
b87f3e709a
SceneGraph: removed long-deprecated Camera*::setProjection() etc.
...
Use Camera*::setProjectionMatrix() together with
Matrix3::projection(), Matrix4::orthographicProjection() or
Matrix4::perspectiveProjection() instead.
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š
f7a0c2b78c
SceneGraph: behave properly when deleting a running animable.
...
The test now passes again.
8 years ago
Vladimír Vondruš
dee10204f9
SceneGraph: test crash and burn when deleting a running animable.
...
Yes. It does.
8 years ago
Vladimír Vondruš
72a3d67902
SceneGraph: prefix private Animable members with an underscore.
...
And minor other coding style updates. This code is old, wow!
8 years ago
Vladimír Vondruš
0b491309fb
SceneGraph: updates for the new documentation theme.
...
No proofreading.
8 years ago
Vladimír Vondruš
8f87ca9233
SceneGraph: copypaste error in the docs.
8 years ago
Vladimír Vondruš
623fa97970
Updated copyright year.
8 years ago
Vladimír Vondruš
a4d32e650a
Move friend declarations into private class sections.
...
And hide them from Doxygen so it's not complaining. Related bug:
https://bugzilla.gnome.org/show_bug.cgi?id=776986
8 years ago
Vladimír Vondruš
6cc8362eeb
Doc++
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š
2a72e0d2eb
SceneGraph: disable deprecation warnings in deprecated code on MSVC.
...
Used `#pragma warning(suppress: 4996)` before which was apparently doing
completely nothing. Switched to `#pragma warning(disable: 4996)` now.
Started to become problematic on latest MSVC 2017 update (19.11) -- the
UWP builds are failing because of implicit warning-as-error.
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š
ae9095de16
Remove most of the "MSVC 2015 can't handle {} here" workarounds.
9 years ago
Vladimír Vondruš
bc1b8b0095
SceneGraph: fix deprecation warning message.
9 years ago
Vladimír Vondruš
832289f7c3
SceneGraph: ability to access parent from AbstractObject.
...
Didn't do any tests because there's nothing for AbstractObject anyway
(it's on my TODO list, though).
10 years ago
Vladimír Vondruš
7d8b2ce9a6
Print value of invalid enums in debug output, test those cases.
10 years ago
Vladimír Vondruš
771b4d517a
Exclude debug operators from code coverage.
10 years ago
Vladimír Vondruš
c3e31b69ad
SceneGraph: fix compilation of Camera class with double as T.
...
Thanks to @ManuelK89 for the report. Actually I should add proper test
cases for both float and double version, but I have other high-priority
tasks ATM, so it has to wait until later.
10 years ago
Vladimír Vondruš
0b3e9cddbc
SceneGraph: ignore deprecated warnings in deprecated functions on GCC.
...
Gaah, why GCC can't ignore that by itself -- nobody cares if a
deprecated API uses another deprecated API. Clang does that right.
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
Squareys
cf6ef1310a
doc++: Use AnimableGroup3D instead of DrawableGroup3D for Animable3D.
...
Signed-off-by: Squareys <Squareys@googlemail.com>
10 years ago