Chamfers a set of vertices by giving them rounded corners, returns a new set of vertices. The radius parameter is a single number or an array to specify the radius for each vertex.
Creates a new set of Matter.Body compatible vertices.
The points argument accepts an array of Matter.Vector points orientated around the origin (0, 0), for example:
[{ x: 0, y: 0 }, { x: 25, y: 50 }, { x: 50, y: 0 }]
The Vertices.create method returns a new array of vertices, which are similar to Matter.Vector objects,
but with some additional references required for efficient collision detection routines.
Note that the body argument is not optional, a Matter.Body reference must be provided.
Returns the area of the set of vertices.