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.
1 parent a3c27fb commit 00159b7Copy full SHA for 00159b7
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