395 {
396 float num = amount * amount;
397 float num2 = amount * num;
398 float num3 = 2f * num2 - 3f * num + 1f;
399 float num4 = -2f * num2 + 3f * num;
400 float num5 = num2 - 2f * num + amount;
401 float num6 = num2 - num;
402 result.X = value1.X * num3 + value2.X * num4 + tangent1.X * num5 + tangent2.X * num6;
403 result.Y = value1.Y * num3 + value2.Y * num4 + tangent1.Y * num5 + tangent2.Y * num6;
404 result.Z = value1.Z * num3 + value2.Z * num4 + tangent1.Z * num5 + tangent2.Z * num6;
405 }