Contents

distance_squared(_:_:)

Returns the square of the distance between two vectors.

Declaration

func distance_squared(_ x: SIMD2<Double>, _ y: SIMD2<Double>) -> Double

See Also

Length and Distance Functions