فهرست منبع

Fixed an error in Vector3.BezierDerivative in mono module

(cherry picked from commit bceba81b542a455b17fac4df49c20cd38666bbb7)
朱力 1 سال پیش
والد
کامیت
11f9e35c06
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs

+ 1 - 1
modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs

@@ -265,7 +265,7 @@ namespace Godot
             return new Vector3(
                 Mathf.BezierDerivative(X, control1.X, control2.X, end.X, t),
                 Mathf.BezierDerivative(Y, control1.Y, control2.Y, end.Y, t),
-                Mathf.BezierDerivative(Z, control1.Z, control2.Z, end.Y, t)
+                Mathf.BezierDerivative(Z, control1.Z, control2.Z, end.Z, t)
             );
         }