forge2d
forge2d copied to clipboard
fix!: Add friction and restitution arguments to createFixtureFromShape
Description
Just adding the two missing arguments to createFixtureFromShape
.
Checklist
- [x] The title of my PR starts with a Conventional Commit prefix (
fix:
,feat:
,docs:
etc). - [x] I have read the Contributor Guide and followed the process outlined for submitting PRs.
- [x] I have updated/added tests for ALL new/updated/fixed functionality.
- [x] I have updated/added relevant documentation in
docs
and added dartdoc comments with///
. - [x] I have updated/added relevant examples in
examples
.
Breaking Change
This is breaking since it makes no sense in having positional arguments here, so I converted them to named arguments.
- [x] Yes, this is a breaking change.