The search functionality needs JavaScript enabled
distancesqr
Compute squared distance between two 2D points
T distancesqr(T) ( Vector!(T,2) a, Vector!(T,2) b );
Compute squared distance between two 3D points
T distancesqr(T) ( Vector!(T,3) a, Vector!(T,3) b );