public static UICoords Lerp(UICoords a, UICoords b, float t) { return(new UICoords( MathematicsExtensions.Lerp(a.Pixels.X, b.Pixels.X, t), MathematicsExtensions.Lerp(a.Pixels.Y, b.Pixels.Y, t), MathematicsExtensions.Lerp(a.Scale.X, b.Scale.X, t), MathematicsExtensions.Lerp(a.Scale.Y, b.Scale.Y, t) )); }
public UICoords Lerp(UICoords b, float t) { return(UICoords.Lerp(this, b, t)); }