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