aboutsummaryrefslogtreecommitdiff
path: root/core/math/quick_hull.cpp
diff options
context:
space:
mode:
authoralexholly2017-06-06 20:33:51 +0200
committerRémi Verschelde2017-06-09 15:54:02 +0200
commit935f730170d75955f708b5014da3e11c95fcdac4 (patch)
tree693c281eb4ed706ba4be9867e7f1276450e63e99 /core/math/quick_hull.cpp
parent63fd693c1ebd2d3d2c23f3969ca8f6f3e18ff3e4 (diff)
downloadgodot-935f730170d75955f708b5014da3e11c95fcdac4.tar.gz
godot-935f730170d75955f708b5014da3e11c95fcdac4.tar.zst
godot-935f730170d75955f708b5014da3e11c95fcdac4.zip
Diffstat (limited to 'core/math/quick_hull.cpp')
-rw-r--r--core/math/quick_hull.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/quick_hull.cpp b/core/math/quick_hull.cpp
index ce9372006..9f594ba4f 100644
--- a/core/math/quick_hull.cpp
+++ b/core/math/quick_hull.cpp
@@ -42,7 +42,7 @@ Error QuickHull::build(const Vector<Vector3> &p_points, Geometry::MeshData &r_me
for (int i = 0; i < p_points.size(); i++) {
if (i == 0) {
- aabb.pos = p_points[i];
+ aabb.position = p_points[i];
} else {
aabb.expand_to(p_points[i]);
}