diff options
author | Chris Robinson <[email protected]> | 2018-12-20 04:19:35 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-12-20 04:19:35 -0800 |
commit | 49ac268334bf8875ff1b5baa1e79edc8b7fe15bd (patch) | |
tree | 8417b3b937ee38d19a7dd2708729fa35290ffe6e /Alc/ambidefs.h | |
parent | 8d3f7651c9d188f047a2b2c2ee4e2012b56d9b50 (diff) |
Add index maps from 2D and 3D
Diffstat (limited to 'Alc/ambidefs.h')
-rw-r--r-- | Alc/ambidefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Alc/ambidefs.h b/Alc/ambidefs.h index 82eb7ee3..eeb09f75 100644 --- a/Alc/ambidefs.h +++ b/Alc/ambidefs.h @@ -102,6 +102,14 @@ struct AmbiIndex { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }}; + + static constexpr std::array<int,MAX_AMBI2D_COEFFS> From2D{{ + 0, 1,3, 4,8, 9,15 + }}; + static constexpr std::array<int,MAX_AMBI_COEFFS> From3D{{ + 0, 1, 2, 3, 4, 5, 6, 7, + 8, 9, 10, 11, 12, 13, 14, 15 + }}; }; #endif /* AMBIDEFS_H */ |