SceneGraph: deprecating TransformationType enum and related functions.
The enum was only two-state, in almost all cases it included unnecessary
branching and the non-default usage was too verbose, thus all
transformation functions were split into two variants, <transform>() and
<transform>Local(). The <transform>() behaves exactly like the previous
implementation with TransformationType::Global, the <transform>Local()
behaves like the previous implementation with TransformationType::Local.
The enum and original functions were kept, they are marked as deprecated
and will be removed in future release.
This is rather large changeset, I triple checked that the new (both
deprecated and non-deprecated) implementations work as intended, but
can't possibly test every possible use case, so I'm sorry if I messed
something up :-) Also there was probably some bug in internal virtual
function implementations before, it should be now fixed.
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractTranslation<dimensions,T,TranslationType>&translate(constVectorTypeFor<dimensions,TranslationType>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotation2D<T>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")AbstractBasicTranslationRotation3D<T>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotation3D<T>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use scale() or scaleLocal() instead")AbstractBasicTranslationRotationScaling2D<T>&scale(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotationScaling2D<T>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")AbstractBasicTranslationRotationScaling2D<T>&rotate(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use scale() or scaleLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&scale(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
CORRADE_DEPRECATED("use rotateX() or rotateXLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateX(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateY() or rotateYLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateY(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateZ() or rotateZLocal() instead")AbstractBasicTranslationRotationScaling3D<T>&rotateZ(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use transform() or transformLocal() instead")Object<BasicDualComplexTransformation<T>>&transform(constMath::DualComplex<T>&transformation,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicDualComplexTransformation<T>>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicDualQuaternionTransformation<T>>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("usr rotate() or rotateLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
CORRADE_DEPRECATED("use rotateX() or rotateXLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateX(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateY() or rotateYLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateY(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateZ() or rotateZLocal() instead")Object<BasicDualQuaternionTransformation<T>>&rotateZ(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use transform() or transformLocal() instead")Object<BasicMatrixTransformation2D<T>>&transform(constMath::Matrix3<T>&transformation,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicMatrixTransformation2D<T>>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use scale() or scaleLocal() instead")Object<BasicMatrixTransformation2D<T>>&scale(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use reflect() or reflectLocal() instead")Object<BasicMatrixTransformation2D<T>>&reflect(constMath::Vector2<T>&normal,TransformationTypetype){
CORRADE_DEPRECATED("use transform() or transformLocal() instead")Object<BasicMatrixTransformation3D<T>>&transform(constMath::Matrix4<T>&transformation,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicMatrixTransformation3D<T>>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")Object<BasicMatrixTransformation3D<T>>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
CORRADE_DEPRECATED("use scale() or scaleLocal() instead")Object<BasicMatrixTransformation3D<T>>&scale(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use reflect() or reflectLocal() instead")Object<BasicMatrixTransformation3D<T>>&reflect(constMath::Vector3<T>&normal,TransformationTypetype){
CORRADE_DEPRECATED("use transform() or transformLocal() instead")Object<BasicRigidMatrixTransformation2D<T>>&transform(constMath::Matrix3<T>&transformation,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicRigidMatrixTransformation2D<T>>&translate(constMath::Vector2<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")Object<BasicRigidMatrixTransformation2D<T>>&rotate(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use reflect() or reflectInternal() instead")Object<BasicRigidMatrixTransformation2D<T>>&reflect(constMath::Vector2<T>&normal,TransformationTypetype){
CORRADE_DEPRECATED("use transform() or transformLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&transform(constMath::Matrix4<T>&transformation,TransformationTypetype){
CORRADE_DEPRECATED("use translate() or translateLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&translate(constMath::Vector3<T>&vector,TransformationTypetype){
CORRADE_DEPRECATED("use rotate() or rotateLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&rotate(Math::Rad<T>angle,constMath::Vector3<T>&normalizedAxis,TransformationTypetype){
CORRADE_DEPRECATED("use rotateX() or rotateXLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&rotateX(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateY() or rotateYLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&rotateY(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use rotateZ() or rotateZLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&rotateZ(Math::Rad<T>angle,TransformationTypetype){
CORRADE_DEPRECATED("use reflect() or reflectLocal() instead")Object<BasicRigidMatrixTransformation3D<T>>&reflect(constMath::Vector3<T>&normal,TransformationTypetype){