This commit is contained in:
biglyderv 2024-09-29 04:00:51 -04:00
parent fe01081db5
commit 7899b45bb5
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954

View file

@ -1,4 +1,4 @@
const crypto = (typeof window === 'undefined') ? await import('node:crypto') : crypto; let crypto = (typeof window === 'undefined') ? await import('node:crypto') : crypto;
function distF(ent, target) { function distF(ent, target) {
return ((ent.pos.x - target.pos.x) ** 2) + ((ent.pos.y - target.pos.y) ** 2) return ((ent.pos.x - target.pos.x) ** 2) + ((ent.pos.y - target.pos.y) ** 2)