Vector3.distance2 method

distance2(a: Vector3, b: Vector3) -> float:

Returns the squared distance between vector a and vector b

Parameters

Returns

float

squared distance between vectors.