1import{k as e}from"./LogUtils-D1uL_RU1.js";var t=0,n=class{#e;constructor(e){this.#e=e}checkParticlePosition(e,t,n){return!this.#t(e,t,n)}#t(n,r,i){let a=n.options.collisions;if(!a?.enable)return!1;let o=a.overlap;if(o.enable)return!1;let s=o.retries;if(s>=t&&i>s)throw Error(`Particle is overlapping and can't be placed`);return!!this.#e.particles.find(t=>e(r,t.position)<n.getRadius()+t.getRadius())}};export{n as OverlapPluginInstance};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.