|
|
|
|
@ -102,9 +102,6 @@ template<class T> class MAGNUM_PHYSICS_EXPORT Shape: public AbstractShape<T::Dim
|
|
|
|
|
const T& transformedShape(); |
|
|
|
|
|
|
|
|
|
protected: |
|
|
|
|
/** Marks also the group as dirty */ |
|
|
|
|
void markDirty() override; |
|
|
|
|
|
|
|
|
|
/** Applies transformation to associated shape. */ |
|
|
|
|
void clean(const typename DimensionTraits<T::Dimensions>::MatrixType& absoluteTransformationMatrix) override; |
|
|
|
|
|
|
|
|
|
@ -127,10 +124,6 @@ template<class T> inline const T& Shape<T>::transformedShape() {
|
|
|
|
|
return _transformedShape.shape; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template<class T> void Shape<T>::markDirty() { |
|
|
|
|
if(this->group()) this->group()->setDirty(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
template<class T> void Shape<T>::clean(const typename DimensionTraits<T::Dimensions>::MatrixType& absoluteTransformationMatrix) { |
|
|
|
|
Implementation::ShapeHelper<T>::transform(*this, absoluteTransformationMatrix); |
|
|
|
|
} |
|
|
|
|
|