Skip to content

wowserhq/math

Repository files navigation

Wowser Math

Join Community Version MIT License CI Test Coverage

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 and let 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.