UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

16 lines (9 loc) 380 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [Vec2](./rc-js-util.vec2.md) &gt; [getMagnitudeSquared](./rc-js-util.vec2.getmagnitudesquared.md) ## Vec2.getMagnitudeSquared() method **Signature:** ```typescript getMagnitudeSquared(): number; ``` **Returns:** number