diff options
author | David Fioramonti | 2018-06-02 11:58:53 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-25 10:18:32 +0200 |
commit | 650e26b6ab3f6ca0ae685c53fd186ae87b2f84a0 (patch) | |
tree | 89045d7f2e9f3f921149869dd4b98f7e4644ecf5 /engines/mohawk/myst.h | |
parent | eee970df1fa75ede7130a8d69b04cbc573512f9b (diff) | |
download | scummvm-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 'engines/mohawk/myst.h')
0 files changed, 0 insertions, 0 deletions