292 {
293 float num = amount * amount;
294 float num2 = amount * num;
295 float num3 = 2f * num2 - 3f * num + 1f;
296 float num4 = -2f * num2 + 3f * num;
297 float num5 = num2 - 2f * num + amount;
298 float num6 = num2 - num;
300 result.X = value1.X * num3 + value2.X * num4 + tangent1.X * num5 + tangent2.X * num6;
301 result.Y = value1.Y * num3 + value2.Y * num4 + tangent1.Y * num5 + tangent2.Y * num6;
302 return result;
303 }
Vector2(float x, float y)