three-to-cannon

v4.2.0
Convert a THREE.Mesh to a CANNON.Shape.
threejs three cannonjs cannon physics simulation

dist

microbundle --format cjs,esm,modern,umd --no-compress --globals three=THREE --external three

lint

eslint src/* test/* --fix

test

ava test/*.test.ts

watch

microbundle watch --format cjs,esm,modern,umd --no-compress --globals three=THREE --external three

coverage

c8 --reporter=lcov --reporter=text ava test/*.ts --tap

preversion

rimraf dist/* && npm run dist && npm test

postversion

git push && git push --tags && npm publish && yarn coverage:report

coverage:report

c8 report --reporter=text-lcov > coverage/coverage.lcov

Metadata

  • MIT
  • Whatever
  • Don McCurdy
  • released 7/23/2022

Downloads

Maintainers