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)); }
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))); }