For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Function squaredDistance
-
Parameters
- a: ReadonlyVec3
the first operand
- b: ReadonlyVec3
the second operand
Returns number
squared distance between a and b
- a: ReadonlyVec3
Calculates the squared euclidian distance between two vec3's