diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-26 13:45:39 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-03-26 13:45:39 +0100 |
commit | 60d37f1d49c8d6b96f0e81b1859b4e7b53fa7645 (patch) | |
tree | df5d76f06fd130971efd05b378c25031183b9414 | |
parent | cff7de077bb4f473c4e63e4762ea244ab66095b5 (diff) | |
parent | e2ed63b313e3eff714e32f2cd2d01db9f0e2ea9d (diff) | |
download | redot-engine-60d37f1d49c8d6b96f0e81b1859b4e7b53fa7645.tar.gz |
Merge pull request #89843 from kleonc/csharp-transform3d-interpolate-with-first-scale-then-rotate
[C#] Fix `Transform3D.InterpolateWith` applying rotation before scale
-rw-r--r-- | modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs index 8d24582ba1..8679f32e1a 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Basis.cs @@ -212,7 +212,7 @@ namespace Godot private void Rotate(Quaternion quaternion) { - this *= new Basis(quaternion); + this = new Basis(quaternion) * this; } private void SetDiagonal(Vector3 diagonal) |