hypotenuseXYZW MethodStatic
Return the full 4d hypotenuse (i.e., sqrt(x*x + y*y + z*z + w*w)).
- This is much faster than
Math.hypot(x,y,z,w).
hypotenuseXYZW(x: number, y: number, z: number, w: number): number
| Parameter | Type | Description |
|---|---|---|
| x | number | |
| y | number | |
| z | number | |
| w | number |
Returns - number
Defined in
- Geometry.ts Line 764
Last Updated: 28 October, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.