Matter.Axes
Defined in: src/geometry/Axes.js:1
The Matter.Axes
module contains methods for creating and manipulating sets of axes.
Methods
Matter.Axes.fromVertices
(vertices)
→ Axes
Creates a new set of axes from the given vertices.
Parameters
vertices
Vertices
Returns
AxesA new axes from the given vertices
Matter.Axes.rotate
(axes, angle)
Rotates a set of axes by the given angle.
Parameters
axes
Axes
angle
Number