summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
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;