mirror of
https://github.com/liabru/matter-js.git
synced 2025-01-31 18:14:55 -05:00
why delete chamfer from options?
This commit is contained in:
parent
014ef77d1e
commit
34e9adf462
1 changed files with 0 additions and 1 deletions
|
@ -46,7 +46,6 @@ var Vector = require('../geometry/Vector');
|
|||
var chamfer = options.chamfer;
|
||||
rectangle.vertices = Vertices.chamfer(rectangle.vertices, chamfer.radius,
|
||||
chamfer.quality, chamfer.qualityMin, chamfer.qualityMax);
|
||||
delete options.chamfer;
|
||||
}
|
||||
|
||||
return Body.create(Common.extend({}, rectangle, options));
|
||||
|
|
Loading…
Add table
Reference in a new issue