The array type to use for internal numeric computations throughout the library.
Float32Array is used if it is available, but falls back on Array.
If you want to set array type manually, inject it via the global variable P2_ARRAY_TYPE.
See example below.
The array type to use for internal numeric computations throughout the library. Float32Array is used if it is available, but falls back on Array. If you want to set array type manually, inject it via the global variable P2_ARRAY_TYPE. See example below.