Math library for Wowser
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.babelrc
.codeclimate.yml
.editorconfig
.eslintrc
.gitignore
.jestrc.json
.jsdocrc
.travis.yml
AUTHORS
LICENSE
README.md
package-lock.json
package.json

README.md

Wowser Math

Join chat Version Build Status Test Coverage

A 3D math library for Wowser.

Licensed under the MIT license, see LICENSE for more information.

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 and let scoping
  • Typed Arrays

Currently, the browser support targets are the latest 2 major versions of Chrome, Firefox, Safari, and Edge.

Additionally, Node 8.7+ is supported.