Releases: mauriciopoppe/quickhull3d
Releases · mauriciopoppe/quickhull3d
v3.1.1
What's Changed
- Fix issue where all points would be considered to be part of plane if the origin is not in the polygon by @mauriciopoppe in #40
Full Changelog: v3.1.0...v3.1.1
v3.1.0
What's Changed
- Remove debug from prod build by @mauriciopoppe in #34
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #29
- Return a 2d convex hull when the input only has points in a plane by @mauriciopoppe in #36
- Revert to use gl-* modules instead of gl-matrix by @mauriciopoppe in #37
Full Changelog: v3.0.0...v3.1.0
v3.0.0
What's Changed
- Migrate library to typescript, use es6 modules by default by @mauriciopoppe in #31
- Setup gh-pages with a demo of quickhull3d. by @mauriciopoppe in #32
- Remove require calls by @mauriciopoppe in #33
- fix: update d.ts with a call to isPointInsideHull 8e9d329
- chore: typo in comment in isPointInsideHull 542559b
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
v2.1.0
What's Changed
- Move from travis to github actions, test with Jest by @mauriciopoppe in #21
- feat: check if a point is inside the hull by @mauriciopoppe in #23
Full Changelog: v2.0.5...v2.1.0
v2.1.0-0
2.1.0-0
v2.0.5
- Add a typescript definition
- Add a test file for index.d.ts 95c3e48