Exemplo n.º 1
0
 public static Vector2 GetValue(this ITween c, Vector2 a, Vector2 b, float t)
 {
     return(new Vector2(
                c.GetValue(a.X, b.X, t),
                c.GetValue(a.Y, b.Y, t)
                ));
 }
Exemplo n.º 2
0
 public static Vector3 GetValue(this ITween c, Vector3 a, Vector3 b, float t)
 {
     return(new Vector3(
                c.GetValue(a.X, b.X, t),
                c.GetValue(a.Y, b.Y, t),
                c.GetValue(a.Z, b.Z, t)
                ));
 }
Exemplo n.º 3
0
 public static Vector4 GetValue(this ITween c, Vector4 a, Vector4 b, float t)
 {
     return(new Vector4(
                c.GetValue(a.X, b.X, t),
                c.GetValue(a.Y, b.Y, t),
                c.GetValue(a.Z, b.Z, t),
                c.GetValue(a.W, b.W, t)
                ));
 }