Type alias Vertex

Vertex: {
    x: number;
    y: number;
}

Same as Vec2, but with a different structure for compatability with matter.js

Type declaration

  • x: number
  • y: number

Generated using TypeDoc