mirror of
https://github.com/liabru/matter-js.git
synced 2024-11-23 09:26:51 -05:00
added docs for body.chamfer
property, closes #1059
This commit is contained in:
parent
7ea5bc1352
commit
5ed985db18
1 changed files with 13 additions and 0 deletions
|
@ -1437,4 +1437,17 @@ var Axes = require('../geometry/Axes');
|
|||
* @type bounds
|
||||
*/
|
||||
|
||||
/**
|
||||
* Temporarily may hold parameters to be passed to `Vertices.chamfer` where supported by external functions.
|
||||
*
|
||||
* See `Vertices.chamfer` for possible parameters this object may hold.
|
||||
*
|
||||
* Currently only functions inside `Matter.Bodies` provide a utility using this property as a vertices pre-processing option.
|
||||
*
|
||||
* Alternatively consider using `Vertices.chamfer` directly on vertices before passing them to a body creation function.
|
||||
*
|
||||
* @property chamfer
|
||||
* @type object|null|undefined
|
||||
*/
|
||||
|
||||
})();
|
||||
|
|
Loading…
Reference in a new issue