|
|
|
|
@ -52,7 +52,8 @@ template<UnsignedInt dimensions, class T> void AbstractObject<dimensions, T>::se
|
|
|
|
|
|
|
|
|
|
#ifdef CORRADE_GCC47_COMPATIBILITY |
|
|
|
|
template<UnsignedInt dimensions, class T> void AbstractObject<dimensions, T>::setClean(std::initializer_list<AbstractObject<dimensions, T>*> objects) { |
|
|
|
|
return setClean(std::vector<AbstractObject<dimensions, T>*>{objects}); |
|
|
|
|
/* GCC 4.5 doesn't like {} here */ |
|
|
|
|
return setClean(std::vector<AbstractObject<dimensions, T>*>(objects)); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
@ -74,7 +75,8 @@ template<UnsignedInt dimensions, class T> auto AbstractObject<dimensions, T>::tr
|
|
|
|
|
|
|
|
|
|
#ifdef CORRADE_GCC47_COMPATIBILITY |
|
|
|
|
template<UnsignedInt dimensions, class T> auto AbstractObject<dimensions, T>::transformationMatrices(std::initializer_list<AbstractObject<dimensions, T>*> objects, const MatrixType& initialTransformationMatrix) const -> std::vector<MatrixType> { |
|
|
|
|
return transformationMatrices(std::vector<AbstractObject<dimensions, T>*>{objects}, initialTransformationMatrix); |
|
|
|
|
/* GCC 4.5 doesn't like {} here */ |
|
|
|
|
return transformationMatrices(std::vector<AbstractObject<dimensions, T>*>(objects), initialTransformationMatrix); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
@ -236,7 +238,8 @@ template<class Transformation> auto Object<Transformation>::transformationMatric
|
|
|
|
|
|
|
|
|
|
#ifdef CORRADE_GCC47_COMPATIBILITY |
|
|
|
|
template<class Transformation> auto Object<Transformation>::transformationMatrices(std::initializer_list<Object<Transformation>*> objects, const MatrixType& initialTransformationMatrix) const -> std::vector<MatrixType> { |
|
|
|
|
return transformationMatrices(std::vector<Object<Transformation>*>{objects}, initialTransformationMatrix); |
|
|
|
|
/* GCC 4.5 doesn't like {} here */ |
|
|
|
|
return transformationMatrices(std::vector<Object<Transformation>*>(objects), initialTransformationMatrix); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
@ -369,7 +372,8 @@ template<class Transformation> std::vector<typename Transformation::DataType> Ob
|
|
|
|
|
|
|
|
|
|
#ifdef CORRADE_GCC47_COMPATIBILITY |
|
|
|
|
template<class Transformation> std::vector<typename Transformation::DataType> Object<Transformation>::transformations(std::initializer_list<Object<Transformation>*> objects, const typename Transformation::DataType& initialTransformation) const { |
|
|
|
|
return transformations(std::vector<Object<Transformation>*>{objects}, initialTransformation); |
|
|
|
|
/* GCC 4.5 doesn't like {} here */ |
|
|
|
|
return transformations(std::vector<Object<Transformation>*>(objects), initialTransformation); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
@ -487,7 +491,8 @@ template<class Transformation> void Object<Transformation>::setClean(const std::
|
|
|
|
|
|
|
|
|
|
#ifdef CORRADE_GCC47_COMPATIBILITY |
|
|
|
|
template<class Transformation> void Object<Transformation>::setClean(std::initializer_list<Object<Transformation>*> objects) { |
|
|
|
|
setClean(std::vector<Object<Transformation>*>{objects}); |
|
|
|
|
/* GCC 4.5 doesn't like {} here */ |
|
|
|
|
setClean(std::vector<Object<Transformation>*>(objects)); |
|
|
|
|
} |
|
|
|
|
#endif |
|
|
|
|
#endif |
|
|
|
|
|