Ejemplo n.º 1
0
 public static void SmoothStep(ref FixVector2 value1, ref FixVector2 value2, Fix64 amount, out FixVector2 result)
 {
     result = new FixVector2(
         FixMath.SmoothStep(value1.x, value2.x, amount),
         FixMath.SmoothStep(value1.y, value2.y, amount));
 }
Ejemplo n.º 2
0
 public static FixVector2 SmoothStep(FixVector2 value1, FixVector2 value2, Fix64 amount)
 {
     return(new FixVector2(
                FixMath.SmoothStep(value1.x, value2.x, amount),
                FixMath.SmoothStep(value1.y, value2.y, amount)));
 }