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