aboutsummaryrefslogtreecommitdiff
path: root/audio/decoders/3do.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2018-06-02 11:58:53 -0700
committerEugene Sandulenko2018-07-25 10:18:32 +0200
commit650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0 (patch)
tree89045d7f2e9f3f921149869dd4b98f7e4644ecf5 /audio/decoders/3do.cpp
parenteee970df1fa75ede7130a8d69b04cbc573512f9b (diff)
downloadscummvm-rg350-650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0.tar.gz
scummvm-rg350-650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0.tar.bz2
scummvm-rg350-650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0.zip
COMMON: Add at() index function to cosine/sine table
The cos/sin table class now has an at() function for indexing safely into its internal array. This allows the checking and computing of the correct indexes to be done internally. The indexing in allows cos/sine of 0 to 2pi to be obtained. The values returned by getTable are the same as before. Comments that describe the values that the table contains has been modified to line up with what the code is doing.
Diffstat (limited to 'audio/decoders/3do.cpp')
0 files changed, 0 insertions, 0 deletions