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