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.
Float32Array
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.