Stop being the product.
Become the owner.
or
sign uplog in

TIL about Math.hypot() Today I learned about…

TIL about Math.hypot()

Today I learned about \`Math.hypot()\`, which not only calculates the hypotenuse of a right triangle, given its side lengths, but also accepts any number of arguments, making it easy to calculate distances in 2D, 3D or even higher dimensions.

I thought this post would be useful for anyone developing JavaScript games or other projects involving geometry.
#dev #js #programming #technology
earnings
2,000 mlx total
$0  total
engagement
3 views
0 reactions

0 comments