diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:17:02 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-10-02 13:17:02 +0200 |
commit | 6bebd9c961c851ec36b67bd888eeaa9b9848c32f (patch) | |
tree | a4a957ae477a42b785654b602b09a6d403f08454 /modules | |
parent | ad013919f1ca1d6e2fbfa198ec66df4cbe67c5a3 (diff) | |
parent | bceba81b542a455b17fac4df49c20cd38666bbb7 (diff) | |
download | redot-engine-6bebd9c961c851ec36b67bd888eeaa9b9848c32f.tar.gz |
Merge pull request #82664 from hackerzhuli/master
Fixed an error in `Vector3.BezierDerivative` in mono module
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs index 0b203c5148..d26d4662a0 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Vector3.cs +++ b/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) ); } |