hypotenuseSquaredXYZW MethodStatic
Return the squared hypotenuse (x*x + y*y + z*z+w*w)
. This is much faster than Math.hypot(x,y,z)
.
hypotenuseSquaredXYZW(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 496
Last Updated: 30 November, 2023