mesh-combine

1.1.0 • Public • Published

mesh-combine stable

Combine multiple indexed meshes into a single indexed mesh.

This should help constructing indexed meshes from smaller primitives without getting too bogged down in indexing everything manually.

Usage

NPM

mesh = combine(meshes)

Given an array of meshes, return a combined mesh. Each mesh in the array should be an object with two properties:

  • positions: the positions in the individual mesh.
  • cells: a list of faces in the individual mesh.

See Also

License

MIT. See LICENSE.md for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.0
    60
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.0
    60
  • 1.0.0
    3

Package Sidebar

Install

npm i mesh-combine

Weekly Downloads

63

Version

1.1.0

License

MIT

Last publish

Collaborators

  • hughsk