Releases: robertcorponoi/collider2d
Releases · robertcorponoi/collider2d
v1.1.1
v1.1.0
- 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.
v1.0.1
Hotfixes
- Fixed case sensitive file names not carrying through in the last commit.
- Fixed typings in
package.json
fromlib/index.d.ts
tobuild/index.d.ts
.
v1.0.0
- Made the Vector, Box, Circle, and Polygon classes into their own individual exports instead of having to be created through the Collider2d class.
- Removed the reference to Box in Polygon to clear up a circular dependency.
- Updated documentation to reflect new API.
- Updated tests to match new API.
- Removed unnecessary types.
- Started renaming filse to use underscores to follow JavaScript guidelines.
- Updated dev-dependencies to their latest versions and fixed all security vulnerabilities.
- Updated npm scripts to remove existing files before building/bundling to avoid issues with old code.
- Renamed lib directory to build to be consistent with other projects.