Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wowserhq/math
Math library for Wowser
https://github.com/wowserhq/math
3d math wow wowser
Last synced: about 1 month 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 (over 4 years ago)
- Last Synced: 2024-04-27T18:03:19.436Z (8 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
[![Join Community](https://badgen.net/badge/discord/join%20community/blue)](https://discord.gg/DeVVKVg)
[![Version](https://badgen.net/npm/v/@wowserhq/math)](https://www.npmjs.org/package/@wowserhq/math)
[![MIT License](https://badgen.net/github/license/wowserhq/math)](LICENSE)
[![CI](https://github.com/wowserhq/math/workflows/CI/badge.svg)](https://github.com/wowserhq/math/actions?query=workflow%3ACI)
[![Test Coverage](https://codecov.io/gh/wowserhq/math/branch/master/graph/badge.svg)](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.