assertTrue(rect1.getWidthXY(TransformSpace.RELATIVE_TO_PARENT) - width3 <= epsilon);
assertTrue(rect1.getHeightXY(TransformSpace.RELATIVE_TO_PARENT) - height3 <= epsilon);
float width4 = width3*2;
rect1.scale(2, 2, 1, new Vector3D(0,0,0));
assertTrue(rect1.getWidthXY(TransformSpace.RELATIVE_TO_PARENT) - width4 <= epsilon);
float width5 = width4*2;
parent.scale(2, 2, 1, new Vector3D(0,0,0));
assertTrue(rect1.getWidthXY(TransformSpace.GLOBAL) - width5 <= epsilon);