summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorkleonc <9283098+kleonc@users.noreply.github.com>2024-09-20 00:18:54 +0200
committerkleonc <9283098+kleonc@users.noreply.github.com>2024-09-20 00:18:54 +0200
commit3bfadeff25c5d86a65a17ee172465e626c9741ba (patch)
tree2d1aa476b9750e03356b0521e6ae71dd3d4dd6c9 /modules
parent0a4aedb36065f66fc7e99cb2e6de3e55242f9dfb (diff)
downloadredot-engine-3bfadeff25c5d86a65a17ee172465e626c9741ba.tar.gz
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;