https://github.com/wowserhq/math
Math library for Wowser
https://github.com/wowserhq/math
3d math wow wowser
Last synced: about 2 months ago
JSON representation
Math library for Wowser
- Host: GitHub
- URL: https://github.com/wowserhq/math
- Owner: wowserhq
- License: mit
- Created: 2017-09-02T17:40:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-25T19:40:15.000Z (almost 5 years ago)
- Last Synced: 2024-04-27T18:03:19.436Z (12 months ago)
- Topics: 3d, math, wow, wowser
- Language: JavaScript
- Homepage:
- Size: 402 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Wowser Math
[](https://discord.gg/DeVVKVg)
[](https://www.npmjs.org/package/@wowserhq/math)
[](LICENSE)
[](https://github.com/wowserhq/math/actions?query=workflow%3ACI)
[](https://codecov.io/gh/wowserhq/math)A 3D math library for Wowser.
## Usage
To install Wowser Math:
```sh
npm install @wowserhq/math
```To use Wowser Math in an ES2015 module environment:
```js
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:
```sh
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 ArraysCurrently, the browser support targets are the latest 2 major versions of Chrome, Firefox, Safari,
and Edge.Additionally, Node 10+ is supported.