Number3D class written in Mootools, represents a value in a three-dimensional coordinate system.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Examples
Source
.project
README.md
license
package.yml
screen.png

README.md

Number3D

The smallest part of an 3D engine. ;o)

Screenshot

How to use

window.addEvent('domready', function(){
	
    var n1 = new Number3D(2, 2, 2);
    var n2 = new Number3D(5, 5, 5);
    
    var n3 = Number3D.add(n1, n2);
    
    n1.rotateZ(90);
    
    n1.normalize();

});

License

See license file.