- add CrossSection class
- move static method (constructors) under their respective classes
-add Manifold.{split, splitByPlane}
- enable usage of instanceof on Manifold (and now CrossSection) objects simplify registry indirection in worker.ts, enabling method de-structuring (opening static function names out of class module name-spaces)
Build changes:
- break C++ helpers out from bindings.cpp to helpers.cpp
- ensure that ts files are copied during builds even when nothing is recompiled
Note that in addition to the new bindings, the most of the existing toplevel functions have been moved under their respective classes as static methods (breaking change!). I haven't added any new examples yet, but the existing ones are passing and do make use of CrossSection now (some transparently, and some directly), but I think enough of this is together that review is worthwhile.
* include all transforms
* added show method for editor debug
* await before cleanup
* tighten JS tests
* move out common test functions
* split manifold and boolean tests
* cleanup
* tighten samples tests
* fixed GetMeshGL
* fixed original IDs for empty runs
* link SDF
* update CUDA files
* revert accidentally-removed test function
* added types and docs
* es6 tests work
* fixed model-viewer example
* fixed three example
* worker not quite working
* removed three.js dependency
* switched to top-level await
* added normalIdx binding
* fix binding
* modularize wasm and add mocha tests
* add npm tests to CI
* fix mv command
* revert to build directory
* added rest of example tests
* fixed three.js test
* update web examples for module
* moved computations to worker
* fixed console logs
* fixed run at startup
* buttons should not be children of buttons!
* enabled cancel
* allow top and bottom view
* fixed reinitialization
* split editor files
* added loading poster
* added dropdown menu
* switching examples works
* autosave working
* state retrieval working
* rearrange code
* added edit buttons
* made delete function
* rename works