Socket
Book a DemoInstallSign in
Socket

cube-mesh

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cube-mesh

Generates subdivided cube meshes

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

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 (either a scalar or an array)
  • scale is the size of the side-lengths of the cube (either a scalar or an array)

Credits

(c) 2013 Mikola Lysenko. MIT License

Keywords

cube

FAQs

Package last updated on 10 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts