summaryrefslogtreecommitdiff
path: root/servers/physics_2d/godot_shape_2d.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_2d/godot_shape_2d.h')
-rw-r--r--servers/physics_2d/godot_shape_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_2d/godot_shape_2d.h b/servers/physics_2d/godot_shape_2d.h
index fb52cbce20..9b3477cea8 100644
--- a/servers/physics_2d/godot_shape_2d.h
+++ b/servers/physics_2d/godot_shape_2d.h
@@ -134,7 +134,7 @@ public:
real_t mina, maxa; \
real_t minb, maxb; \
Transform2D ofsb = p_transform; \
- ofsb.elements[2] += p_cast; \
+ ofsb.columns[2] += p_cast; \
project_range(p_normal, p_transform, mina, maxa); \
project_range(p_normal, ofsb, minb, maxb); \
r_min = MIN(mina, minb); \