toArray
Returns an array with the SH coefficients, or copies them into the provided array. The coefficients are represented as numbers.
Return
An array with flat SH coefficients.
Parameters
array
The target array.
offset
The array offset where to start copying.