diff options
author | 朱力 <790403624@qq.com> | 2023-10-02 15:00:05 +0800 |
---|---|---|
committer | 朱力 <790403624@qq.com> | 2023-10-02 15:00:05 +0800 |
commit | bceba81b542a455b17fac4df49c20cd38666bbb7 (patch) | |
tree | d585700d40509305532216d16a49ea06d9fa76dc | |
parent | 0ca8542329888e8dccba89d59d3b728090c29991 (diff) | |
download | redot-engine-bceba81b542a455b17fac4df49c20cd38666bbb7.tar.gz |
Fixed an error in Vector3.BezierDerivative in mono module
-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) ); } |