Contents

hypot(_:_:)

Returns the hypotenuse of a right-angled triangle with the sides that are adjacent to the right angle that two vectors define.

Declaration

func hypot(_ x: simd_float3, _ y: simd_float3) -> simd_float3

See Also

Math Functions