sdf
This commit is contained in:
parent
fe01081db5
commit
7899b45bb5
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
return ((ent.pos.x - target.pos.x) ** 2) + ((ent.pos.y - target.pos.y) ** 2)
|
||||
|
|
Loading…
Reference in a new issue