renamed all Rect3.pos to Rect3.position

This commit is contained in:
alexholly 2017-06-06 20:33:51 +02:00 committed by Rémi Verschelde
parent 63fd693c1e
commit 935f730170
42 changed files with 298 additions and 298 deletions

View file

@ -720,7 +720,7 @@ void ArrayMesh::add_surface_from_arrays(PrimitiveType p_primitive, const Array &
for (int i = 0; i < len; i++) {
if (i == 0)
aabb.pos = vtx[i];
aabb.position = vtx[i];
else
aabb.expand_to(vtx[i]);
}
@ -883,7 +883,7 @@ void ArrayMesh::add_surface_from_mesh_data(const Geometry::MeshData &p_mesh_data
for (int i = 0; i < p_mesh_data.vertices.size(); i++) {
if (i == 0)
aabb.pos = p_mesh_data.vertices[i];
aabb.position = p_mesh_data.vertices[i];
else
aabb.expand_to(p_mesh_data.vertices[i]);
}