v2_distance_sqr
v2_distance_sqr(x0, y0, x1, y1) ⇒ number
Squared distance between two points in 2d space
Kind: global function
Param | Type |
---|---|
x0 | number |
y0 | number |
x1 | number |
y1 | number |
number
Squared distance between two points in 2d space
Kind: global function
Param | Type |
---|---|
x0 | number |
y0 | number |
x1 | number |
y1 | number |