forge2d icon indicating copy to clipboard operation
forge2d copied to clipboard

fix!: Add friction and restitution arguments to createFixtureFromShape

Open spydon opened this issue 2 years ago • 0 comments

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.

Related Issues

spydon avatar Apr 28 '22 21:04 spydon