Vladimír Vondruš
c707370f30
Removed unneeded includes.
13 years ago
Vladimír Vondruš
5f049c50b8
Physics: using new type aliases in whole Physics namespace.
13 years ago
Vladimír Vondruš
38f6ddcbef
Physics: function for detecting first collision with shape in the group.
13 years ago
Vladimír Vondruš
4cda770f4f
Physics: fixed cyclic header dependency.
13 years ago
Vladimír Vondruš
29806b9415
Doc++
13 years ago
Vladimír Vondruš
7e66a09461
Marking all constructors explicit, except for matrix and vector classes.
...
It prevents unwanted implicit conversions from e.g. nullptr to Camera,
Vector2 to Physics::Point etc. By making all the constructors explicit
it is easier to routinely add the keyword to all new classes instead of
thinking about cases when to add and when not to.
14 years ago
Vladimír Vondruš
2f4092bde0
Prefix *_EXPORT macros with MAGNUM_ to avoid collisions.
14 years ago
Vladimír Vondruš
6f492de8e3
Physics: work around cyclic dependency of ObjectShape.h and OSGroup.h.
14 years ago
Vladimír Vondruš
19a92f3ca7
Forward declarations for Physics namespace in Physics/Physics.h.
14 years ago
Vladimír Vondruš
07e70c70a3
Physics: adapted ObjectShape to new SceneGraph implementation.
...
Before it was subclass of Object, now it is implemented as feature.
14 years ago
Vladimír Vondruš
b9fbbb117b
Don't use constexpr here.
...
* The class has std::vector in it.
* The class has virtual destructor.
14 years ago
Vladimír Vondruš
1c67fc3c66
Fixed unintialized variable.
...
Accidentaly found when running unit tests on GLES build.
14 years ago
Vladimír Vondruš
c4f321d911
Don't use extern template where it is not necessary.
...
Extern template probably causes even inline functions to be
instantiated, because MinGW's GCC 4.7.0 then complains about conflicting
symbols, removing them fixes the issue.
Extern template is not necessary here, as the needed functions are
explicitly instantiated in source file only anyway and we don't care
about instantiation count of inline functions.
14 years ago
Vladimír Vondruš
6ae88e22c5
Removed forgotten traces of debug draw from ShapedObject.
14 years ago
Vladimír Vondruš
246f08c4f1
Using fixed-size 8bit integer for color attachment IDs.
14 years ago
Vladimír Vondruš
1077370937
Using fixed-size 8bit integer for dimension count.
...
There can be only one, two or three dimensions, so why to use eight
times larger type than needed?
14 years ago
Vladimír Vondruš
8a7c86d700
Initial implementation of ShapedObject.
...
Physics library now depends on SceneGraph, which must be explicitly
linked too.
14 years ago