This package has been deprecated

Author message:

This

@mapbox/gl-matrix

0.0.1 • Public • Published

Fork notice

This is a fork of gl-matrix with the following changes:

  • Converted to ES6 modules and Rollup to be able to create slim customized builds.
  • Removed all SIMD code since its proper browser support is a very distant prospect.
  • Cleaned the code with ESLint.
  • Ditched unnecessary constants and utility functions in common.js.
  • Removed the fuzzy equals (not useful enough to justify the bloat) and renamed exactEquals to equals.

glMatrix

Build Status

Javascript has evolved into a language capable of handling realtime 3D graphics, via WebGL, and computationally intensive tasks such as physics simulations. These types of applications demand high performance vector and matrix math, which is something that Javascript doesn't provide by default. glMatrix to the rescue!

glMatrix is designed to perform vector and matrix operations stupidly fast! By hand-tuning each function for maximum performance and encouraging efficient usage patterns through API conventions, glMatrix will help you get the most out of your browsers Javascript engine.

Learn More

For documentation, news, tutorials, and more visit the glMatrix Homepage

Contributing

Contributions are welcome! Please provide unit tests for new functionality.

Running the test suite

The unit tests are built upon the following tools:

  • Jasmine -- the underlying test suite which executes the test and reports feedback
  • node.js -- used for testing at the command line, via the jasmine-node package

To run the unit tests run the following command:

npm run test

Building for the browser

To build gl-matrix.js and gl-matrix-min.js for use in the browser install the required NPM dependencies first by running

npm install

from the this directory, then run the following command:

npm run build-all

This will build the full and minified versions of glMatrix as well as the docs.

Readme

Keywords

none

Package Sidebar

Install

npm i @mapbox/gl-matrix

Homepage

glmatrix.net

Weekly Downloads

44,561

Version

0.0.1

License

MIT

Last publish

Collaborators

  • mbx-npm-ci-production
  • mbx-npm-ci-staging
  • mbx-npm-advanced-actions-production
  • mbx-npm-advanced-actions-staging
  • mbx-npm-09-production
  • mbx-npm-08-production
  • mbx-npm-07-production
  • mbx-npm-06-production
  • mbx-npm-05-production
  • mbx-npm-04-production
  • mbx-npm-03-production
  • mbx-npm-02-production
  • mbx-npm-01-production
  • mbx-npm-02-staging
  • mapbox-npm-01
  • mapbox-npm-02
  • mapbox-npm-07
  • mapbox-npm-03
  • mapbox-npm-04
  • mapbox-npm-09
  • mapbox-npm-05
  • mapbox-npm-06
  • mapbox-npm-08
  • mapbox-npm-advanced-actions
  • mapbox-npm-ci
  • mapbox-npm
  • mapbox-admin
  • mapbox-machine-user