Skip to content

Commit

Permalink
Merge pull request #82664 from hackerzhuli/master
Browse files Browse the repository at this point in the history
Fixed an error in `Vector3.BezierDerivative` in mono module
  • Loading branch information
akien-mga committed Oct 2, 2023
2 parents ad01391 + bceba81 commit 6bebd9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ public readonly Vector3 BezierDerivative(Vector3 control1, Vector3 control2, Vec
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)
);
}

Expand Down

0 comments on commit 6bebd9c

Please sign in to comment.