@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
17 lines (15 loc) • 468 B
JavaScript
/**
* @readonly
* @type {Float32Array}
*/
export const SH3_COEFFICIENTS = new Float32Array([
0.28209479177387814, // 0: 0 0
-0.4886025119029199, // 1: 1 -1
0.4886025119029199, // 2: 1 0
-0.4886025119029199, // 3: 1 1
1.0925484305920792, // 4: 2 -2
-1.0925484305920792, // 5: 2 -1
0.31539156525252005, // 6: 2 0
-1.0925484305920792, // 7: 2 1
0.5462742152960396 // 8: 2 2
]);