@ Override protected void doTransform ( ITransformable . Scale transformable , float comp ) { float fromX = reversed ? this . toX : this . fromX ; float toX = reversed ? this . fromX : this . toX ; float fromY = reversed ? this . toY : this . fromY ; float toY = reversed ? this . fromY : this . toY ; float fromZ = reversed ? this . toZ : this . fromZ ; float toZ = reversed ? this . fromZ : this . toZ ; transformable . scale ( fromX + ( toX - fromX ) * comp , fromY + ( toY - fromY ) * comp , fromZ + ( toZ - fromZ ) * comp , offsetX , offsetY , offsetZ ) ; }
Calculate the transformation .