0.0.4 • Published 12 years ago

cube-mesh v0.0.4

Weekly downloads
4
License
-
Repository
github
Last release
12 years ago

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 side
  • scale is the size of the side-lengths

Credits

(c) 2013 Mikola Lysenko. MIT License