hypotenuseXYZ MethodStatic
Return the hypotenuse sqrt(x*x + y*y + z*z)
. This is much faster than Math.hypot(x,y,z)
.
hypotenuseXYZ(x: number, y: number, z: number): number
Parameter | Type | Description |
---|---|---|
x | number | |
y | number | |
z | number |
Defined in
Last Updated: 08 January, 2020