From a3c90b029308eb46b7fd83a0cf7b502ecbd79d55 Mon Sep 17 00:00:00 2001 From: alexholly Date: Sun, 4 Jun 2017 00:25:13 +0200 Subject: renamed all Rect2.pos to Rect2.position --- core/math/math_2d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/math/math_2d.cpp') diff --git a/core/math/math_2d.cpp b/core/math/math_2d.cpp index 962a42acb9..52e240ed47 100644 --- a/core/math/math_2d.cpp +++ b/core/math/math_2d.cpp @@ -308,7 +308,7 @@ bool Rect2::intersects_segment(const Point2 &p_from, const Point2 &p_to, Point2 for (int i = 0; i < 2; i++) { real_t seg_from = p_from[i]; real_t seg_to = p_to[i]; - real_t box_begin = pos[i]; + real_t box_begin = position[i]; real_t box_end = box_begin + size[i]; real_t cmin, cmax; real_t csign; -- cgit v1.2.3