public Transformation WithRotation(RotationAngle rotationAngle) { return(new Transformation(Translation, Scale, rotationAngle)); }
public Transformation(Vector2 translation, Vector2 scale, RotationAngle rotationAngle) { Translation = translation; Scale = scale; RotationAngle = rotationAngle; }
public Transformation Rotate(RotationAngle rotationAngle) { return(new Transformation(Translation, Scale, RotationAngle.Add(rotationAngle))); }