Skip to content

Documentation / @sw-file-lib/core / math / Vec2

Interface: Vec2 ​

ts
interface Vec2 {
  x: number;
  y: number;
}

Defined in: math/index.ts:12

A simple two-dimensional numeric vector.

Properties ​

PropertyType

x

number

y

number