@repcomm/kissbb
v1.1.1
Published
2d AABB
Downloads
2
Maintainers
Readme
kissbb
Keep it simple stupid 2d AABB
Utilizing @repcomm/vec2
npm package
Using
To install with npm runnpm install @repcomm/kissbb
This package comes with typescript definitions, and should work in both typescript and javascript.
Example Usage
TODO
Compiling
TS -> JS is done using babel.js You can check out ts-esm-babel-template Which shows esmodule + typescript w/ babel -> js output
or webpack-ts-template Which shows esmodule + typescript w/ babel + npm package integration
To build you'll want to clone the repo
git clone https://github.com/RepComm/vec2d.git
Run npm install
to get dependencies
Run build.sh
(note: runs npm run build
)
for compiling to javascript
For compiling ts defs you'll need typescript
Run npm install -g typescript
Run build-types.sh