@woosh/meep-engine 2.82.0 → 2.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/meep.cjs +6 -0
- package/build/meep.min.js +1 -1
- package/build/meep.module.js +6 -0
- package/package.json +1 -1
- package/src/core/collection/RingBuffer.js +6 -0
- package/src/engine/graphics/ecs/decal/v2/FPDecalSystem.js +13 -7
- package/src/core/collection/map/AsyncLoadingCache.js +0 -50
- package/src/core/collection/map/AsyncRemoteHashMap.js +0 -358
package/build/meep.cjs
CHANGED
|
@@ -85690,6 +85690,12 @@ class RingBuffer {
|
|
|
85690
85690
|
* @param {number} new_size
|
|
85691
85691
|
*/
|
|
85692
85692
|
resize(new_size) {
|
|
85693
|
+
|
|
85694
|
+
if (new_size === this.size) {
|
|
85695
|
+
// already the right size
|
|
85696
|
+
return;
|
|
85697
|
+
}
|
|
85698
|
+
|
|
85693
85699
|
const array = new Array(new_size);
|
|
85694
85700
|
|
|
85695
85701
|
this.data = array;
|