소스 검색

Fixed an error in Vector3.BezierDerivative in mono module

朱力 1 년 전
부모
커밋
bceba81b54
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)
             );
         }