hypotenuseXYZ MethodStatic
Return the hypotenuse (i.e., 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 |
Returns - number
Defined in
- Geometry.ts Line 684
Last Updated: 14 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.