New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

mesh-reindex

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mesh-reindex

Convert a flat array into a simplicial-complex-style indexed mesh, without optimisation.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

mesh-reindex stable

Convert a flat array into a simplicial-complex-style indexed mesh, without optimisation.

Useful for interoperability with other modules, and can also be used in combination with unindex-mesh to force hard edges.

Usage

NPM

mesh = reindex(array)

Given a flat array of vertices, expand into an indexed mesh with the following properties:

  • positions: the vertices in the mesh.
  • cells: the faces in the mesh, with each element being an array of three indices for each point in a triangle.

See Also

License

MIT. See LICENSE.md for details.

Keywords

mesh

FAQs

Package last updated on 09 Jul 2014

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