|
|
|
|
@ -23,30 +23,32 @@
|
|
|
|
|
|
|
|
|
|
#include "Magnum.h" |
|
|
|
|
|
|
|
|
|
#include "corradeCompatibility.h" |
|
|
|
|
|
|
|
|
|
namespace Magnum { namespace SceneGraph { |
|
|
|
|
|
|
|
|
|
enum class AspectRatioPolicy: std::uint8_t; |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> class AbstractCamera; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class T = GLfloat> using AbstractCamera2D = AbstractCamera<2, T>; |
|
|
|
|
template<class T = GLfloat> using AbstractCamera3D = AbstractCamera<3, T>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> class AbstractFeature; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class T = GLfloat> using AbstractFeature2D = AbstractFeature<2, T>; |
|
|
|
|
template<class T = GLfloat> using AbstractFeature3D = AbstractFeature<3, T>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class Derived, class T = GLfloat> class AbstractGroupedFeature; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class Derived, class T = GLfloat> using AbstractGroupedFeature2D = AbstractGroupedFeature<2, Derived, T>; |
|
|
|
|
template<class Derived, class T = GLfloat> using AbstractGroupedFeature3D = AbstractGroupedFeature<3, Derived, T>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> class AbstractObject; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class T = GLfloat> using AbstractObject2D = AbstractObject<2, T>; |
|
|
|
|
template<class T = GLfloat> using AbstractObject3D = AbstractObject<3, T>; |
|
|
|
|
#endif |
|
|
|
|
@ -54,7 +56,7 @@ template<class T = GLfloat> using AbstractObject3D = AbstractObject<3, T>;
|
|
|
|
|
enum class TransformationType: std::uint8_t; |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> class AbstractTransformation; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class T = GLfloat> using AbstractTransformation2D = AbstractTransformation<2, T>; |
|
|
|
|
template<class T = GLfloat> using AbstractTransformation3D = AbstractTransformation<3, T>; |
|
|
|
|
#endif |
|
|
|
|
@ -68,18 +70,18 @@ template<class T = GLfloat> class Camera2D;
|
|
|
|
|
template<class T = GLfloat> class Camera3D; |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> class Drawable; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class T = GLfloat> using Drawable2D = Drawable<2, T>; |
|
|
|
|
template<class T = GLfloat> using Drawable3D = Drawable<3, T>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
template<std::uint8_t dimensions, class Feature, class T = GLfloat> class FeatureGroup; |
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<class Feature, class T = GLfloat> using FeatureGroup2D = FeatureGroup<2, Feature, T>; |
|
|
|
|
template<class Feature, class T = GLfloat> using FeatureGroup3D = FeatureGroup<3, Feature, T>; |
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
#ifndef MAGNUM_GCC46_COMPATIBILITY |
|
|
|
|
#ifndef CORRADE_GCC46_COMPATIBILITY |
|
|
|
|
template<std::uint8_t dimensions, class T = GLfloat> using DrawableGroup = FeatureGroup<dimensions, Drawable<dimensions, T>, T>; |
|
|
|
|
template<class T = GLfloat> using DrawableGroup2D = DrawableGroup<2, T>; |
|
|
|
|
template<class T = GLfloat> using DrawableGroup3D = DrawableGroup<3, T>; |
|
|
|
|
|