You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
renamed all Rect3.pos to Rect3.position
This commit is contained in:
committed by
Rémi Verschelde
parent
63fd693c1e
commit
935f730170
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user