- [MISC] Updated dependencies to their latest versions.
- [FEATURE] Added
genericPoints
Array to Polygon which is an Array of all of the points in the Polygon as just numbers instead of Vectors. This is useful for creating triangles from Polygons.
- [HOTFIX] Fixed the location of the typings.
- [FEATURE] Made the Vector, Box, Circle, and Polygon classes into their own individual exports instead of having to be created through the Collider2d class.
- [FEATURE] Removed the reference to Box in Polygon to clear up a circular dependency.
- [DOCS] Updated documentation to reflect new API.
- [TEST] Updated tests to match new API.
- [MISC] Removed unnecessary types.
- [MISC] Started renaming filse to use underscores to follow JavaScript guidelines.
- [MISC] Updated dev-dependencies to their latest versions and fixed all security vulnerabilities.
- [MISC] Updated npm scripts to remove existing files before building/bundling to avoid issues with old code.
- [MISC] Renamed lib directory to build to be consistent with other projects.
- [MISC] Updated out-of-date dependencies to their latest versions which also fixed all possible fixed security vulnerabilities.
- [FEATURE] Added
translate
to circle to easily modify the position like the polygon version. - [TEST] Added testing for circle and polygon translations.
- [MISC] Replaced rollup-plugin-commonjs and rollup-plugin-node-resolve with @rollup/plugin-commonjs and @rollup/plugin-node-resolve.
- [MISC] Updated dependencies to their latest versions.
- [MISC] Changed CHANGELOG format.
- Initial commit