示例#1
0
 public static void SmoothStep(ref Vector value1, ref Vector value2, Number amount, ref Vector result)
 {
     result = new Vector(
         Math.SmoothStep(value1.x, value2.x, amount),
         Math.SmoothStep(value1.y, value2.y, amount));
 }
示例#2
0
 public static Vector SmoothStep(Vector value1, Vector value2, Number amount)
 {
     return(new Vector(
                Math.SmoothStep(value1.x, value2.x, amount),
                Math.SmoothStep(value1.y, value2.y, amount)));
 }