Skip to content

distSq beta ​

Function of @v12-engine/engine

ts
distSq: (a: Vec2, b: Vec2) => number

The squared distance between two points, for comparing distances without a square root