Skip to content
A collection of terse, efficient affine matrix tools.
JavaScript
Latest commit 022c72d Apr 28, 2013 @slaskis slaskis Version 0.1.1
Failed to load latest commit information.
.gitignore Added component.json Nov 28, 2012
.travis.yml Added travis yml Dec 19, 2012
History.md Version 0.1.1 Apr 28, 2013
Makefile Added head/foot to test.html Nov 28, 2012
README.md Added README Apr 28, 2013
component.json Version 0.1.1 Apr 28, 2013
index.js Style Apr 25, 2013
package.json Version 0.1.1 Apr 28, 2013
test.js Style Apr 25, 2013

README.md

geom-mat

Build Status

A collection of terse matrix utilities. A part of geom.

Features

  • Memory managed each utility has a pool of instances accessable using _X_.make() and _X_.free(). If you don't need pooled instances, simply pass in your own object instead.

  • State less no state is kept within the utilities, it's up to you.

Example

API

mat.make([a,b,c,d,x,y])

mat.free(m)

mat.copy(a[,m])

mat.ident([m])

mat.mul(a,b[,m])

mat.inv(a[,m])

mat.translate(x,y[,m])

mat.scale(x,y[,m])

mat.rotate(theta[,m])

License

MIT

Something went wrong with that request. Please try again.