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 9178ff5 commit f407ed4Copy full SHA for f407ed4
src/main/java/org/spout/physics/collision/broadphase/SweepAndPruneAlgorithm.java
@@ -393,7 +393,6 @@ private void shrinkArrays() {
393
newMapBodyToBoxIndex.put(body, boxIndex);
394
}
395
396
- mFreeBoxIndices.clear();
397
if (newMapBodyToBoxIndex.size() != mMapBodyToBoxIndex.size()) {
398
throw new IllegalStateException("The size of the new map from body to box index must be the same as the old one");
399
0 commit comments