@wowserhq/math
v0.2.2
Published
Math library for Wowser
Downloads
6
Readme
Wowser Math
A 3D math library for Wowser.
Usage
To install Wowser Math:
npm install @wowserhq/math
To use Wowser Math in an ES2015 module environment:
import { Matrix4 } from '@wowserhq/math';
const matrix = new Matrix4();
matrix.scaleByNumber(4.0);
Documentation
Wowser Math ships a complete set of jsdoc documentation.
To build a local copy of the documentation, check out the repo and run:
npm run doc
A documentation directory will be created at the root level. The documentation can be viewed in a web browser.
Compatibility
Wowser Math should work with any browser that has native support for:
- ES2015 Classes
- Generators
const
andlet
scoping- Typed Arrays
Currently, the browser support targets are the latest 2 major versions of Chrome, Firefox, Safari, and Edge.
Additionally, Node 10+ is supported.