예제 #1
0
 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)
                ));
 }
예제 #2
0
 public UICoords Lerp(UICoords b, float t)
 {
     return(UICoords.Lerp(this, b, t));
 }