Merge pull request #82664 from hackerzhuli/master

Fixed an error in `Vector3.BezierDerivative` in mono module
This commit is contained in:
Rémi Verschelde 2023-10-02 13:17:02 +02:00
commit 6bebd9c961
No known key found for this signature in database
GPG Key ID: C3336907360768E1

View File

@ -265,7 +265,7 @@ namespace Godot
return new Vector3( return new Vector3(
Mathf.BezierDerivative(X, control1.X, control2.X, end.X, t), Mathf.BezierDerivative(X, control1.X, control2.X, end.X, t),
Mathf.BezierDerivative(Y, control1.Y, control2.Y, end.Y, 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)
); );
} }