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) • 352 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [Vec2](./rc-js-util.vec2.md) > [getMagnitude](./rc-js-util.vec2.getmagnitude.md)
## Vec2.getMagnitude() method
**Signature:**
```typescript
getMagnitude(): number;
```
**Returns:**
number