mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add const lvalue ref to core/* container parameters
This commit is contained in:
@@ -449,7 +449,7 @@ static inline void _build_faces(uint8_t ***p_cell_status, int x, int y, int z, i
|
||||
}
|
||||
}
|
||||
|
||||
Vector<Face3> Geometry3D::wrap_geometry(Vector<Face3> p_array, real_t *p_error) {
|
||||
Vector<Face3> Geometry3D::wrap_geometry(const Vector<Face3> &p_array, real_t *p_error) {
|
||||
int face_count = p_array.size();
|
||||
const Face3 *faces = p_array.ptr();
|
||||
constexpr double min_size = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user