void DualQuaternionTransformationTest::resetTransformation() { Object3D o; o.setTransformation(DualQuaternion::rotation(Deg(17.0f), Vector3::xAxis())); CORRADE_VERIFY(o.transformationMatrix() != Matrix4()); o.resetTransformation(); CORRADE_COMPARE(o.transformationMatrix(), Matrix4()); }
void RigidMatrixTransformation3DTest::resetTransformation() { Object3D o; o.setTransformation(Matrix4::rotationX(Deg(17.0f))); CORRADE_VERIFY(o.transformationMatrix() != Matrix4()); o.resetTransformation(); CORRADE_COMPARE(o.transformationMatrix(), Matrix4()); }