summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-20 16:06:56 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-20 16:06:56 +0200
commit5070db2575ed7c77e8fcd5acd422fc7613300a61 (patch)
tree8b32a45d7082949ba7cda3c1ee8e52049bcd8dd6 /modules
parent2834342a78bcdd5d0219839859b4a7baa513326c (diff)
parent3bfadeff25c5d86a65a17ee172465e626c9741ba (diff)
downloadredot-engine-5070db2575ed7c77e8fcd5acd422fc7613300a61.tar.gz
Merge pull request #97208 from kleonc/transform3d_aabb_multiplication_fix_csharp
Fix C# `operator *(Transform3D, Aabb)`
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs
index 0f534d477f..0dc143edea 100644
--- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs
+++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Transform3D.cs
@@ -468,8 +468,8 @@ namespace Godot
{
for (int j = 0; j < 3; j++)
{
- real_t e = transform.Basis[i][j] * min[j];
- real_t f = transform.Basis[i][j] * max[j];
+ real_t e = transform.Basis[j][i] * min[j];
+ real_t f = transform.Basis[j][i] * max[j];
if (e < f)
{
tmin[i] += e;