We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3c27fb + 00159b7 commit 672ae97Copy full SHA for 672ae97
Assets/HoloToolkit/SpatialMapping/Scripts/SpatialProcessing/RemoveSurfaceVertices.cs
@@ -149,7 +149,7 @@ private IEnumerator RemoveSurfaceVerticesWithinBoundsRoutine()
149
150
// Remove vertices from any mesh that intersects with the bounds.
151
Vector3[] verts = mesh.vertices;
152
- List<int> vertsToRemove = new List<int>();
+ HashSet<int> vertsToRemove = new HashSet<int>();
153
154
// Find which mesh vertices are within the bounds.
155
for (int i = 0; i < verts.Length; ++i)
0 commit comments