gl-matrix-mat4

Standalone Matrix4 component of gl-matrix

Usage no npm install needed!

<script type="module">
  import glMatrixMat4 from 'https://cdn.skypack.dev/gl-matrix-mat4';
</script>

README

component-glmatrix/mat4

These repositories break up the glMatrix library into discrete components. This module contains code for 4x4 Matrices

Installation

Install with npm(1):

$ npm install --save gl-matrix-mat4
var mat4 = require('gl-matrix-mat4');

Install with component(1):

$ component install component-glmatrix/mat4
var mat4 = require('mat4');

glMatrix

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

License

BSD