Skip to content

v3.0.0

Compare
Choose a tag to compare
@mauriciopoppe mauriciopoppe released this 15 Jun 03:23
· 15 commits to master since this release
03a7e3e

What's Changed

Breaking Changes

The library is marked with "type": "module", the output is an esmodule instead of a common js module.

New webpage

I moved away from codesandbox.io, the demo webpage is now hosted in github pages at http://mauriciopoppe.github.io/quickhull3d/

Support for

Because the output is an esmodule, we can use tools like https://www.jsdelivr.com/esm to do runtime bundling! A minimal example using <script type="module">

import qh from 'https://cdn.jsdelivr.net/npm/[email protected]/+esm'

const points = [
  [0, 1, 0],
  [1, -1, 1],
  [-1, -1, 1],
  [0, -1, -1]
]

const faces = qh(points)
console.log(faces)

Full Changelog: v2.1.0...v3.0.0