Skip to content

tttptd/matrix3d.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

matrix3d.js

Forked from https://gist.github.com/f5io/7466669

Use Matrix3D.multiply for doing calculations, e.g.:

var mtx1 = Matrix3D.create();
var mtx2 = Matrix3D.create();

Matrix3D.rotateX(mtx1, 30);
Matrix3D.rotateX(mtx2, 45);

Matrix3D.multiply(mtx1, mtx2, mtx1);

In the above example, mtx1 should now have a rotation of 75 degrees on the X axis.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published