0.0.4 • Published 12 years ago
cube-mesh v0.0.4
cube-mesh
Generates a subdivided cube mesh
Install
npm install cube-mesh
Example
require("cube-mesh")(10, [2, 2, 2])
require("cube-mesh")(resolution[, scale])
Returns a subdivided cube mesh
resolution
is the number of subdivisions per sidescale
is the size of the side-lengths
Credits
(c) 2013 Mikola Lysenko. MIT License