linearly v0.32.0 • Docs
linearly v0.32.0 / vec3 / squaredDistance
Function: squaredDistance()
squaredDistance(
a
,b
):number
Calculates the squared euclidian distance between two vec3’s
Parameters
• a: vec3
• b: vec3
Returns
number
linearly v0.32.0 • Docs
linearly v0.32.0 / vec3 / squaredDistance
squaredDistance(
a
,b
):number
Calculates the squared euclidian distance between two vec3’s
• a: vec3
• b: vec3
number