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
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š
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š
4faed586fb
SceneGraph: disable warnings about use of deprecated APIs on MSVC.
...
Both GCC and Clang don't warn if deprecated function is used from inside
another deprecated function (as one would expect). However, MSVC is
doing that and producing a lot of noise. Even worse, when trying to
compile the code under new WindowsStore/WindowsPhone SDKs, the project
files now by default treat these warnings as errors, making the code
uncompilable (unless deprecated API is turned off by disabling
BUILD_DEPRECATED in CMake).
11 years ago
Vladimír Vondruš
0aa16595eb
Use new-style debug operators everywhere.
11 years ago
Vladimír Vondruš
45e6985f25
SceneGraph: fix MSVC 2015 shadowing warnings.
11 years ago
Vladimír Vondruš
512021985e
MSVC 2015 compatibility: annoying inconsistencies.
...
What is right on sane compilers gives an error on MSVC and what MSVC
accepts is in no way the right thing.
11 years ago
Vladimír Vondruš
d2d0943ffa
MSVC 2015 compatibility: broken multiple definitions of template aliases.
...
Causes the compiler to forget random type declarations. How is that even
possible.
11 years ago
Vladimír Vondruš
7af5e136fe
MSVC 2015 compatibility: {}-related issues.
11 years ago
Vladimír Vondruš
7f44489621
SceneGraph: document projectionSize() usage.
...
I got like five e-mails about this already, putting that in the docs so I
don't have to invent that every time again.
This is very specific to many transformation/projection properties
(origin, Y up, 2D/3D and whatnot) and thus I'm not adding any convenience
function to calculate that.
11 years ago
Vladimír Vondruš
367be9f7f3
Use CORRADE_DEPRECATED_ALIAS() for deprecating using declarations.
11 years ago
Vladimír Vondruš
022d9db601
SceneGraph: fixed Doxygen warnings.
11 years ago