Type alias Vec2

Vec2: number[] | Float32Array | Float64Array

A JavaScript array with 2 values, Float32Array with 2 values, or a Float64Array with 2 values. When created by the library will create the default type which is Float32Array but can be set by calling vec2.setDefaultType.