Skip to content

publicclass/geom-mat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A collection of terse, efficient affine matrix tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published