diff options
author | David Fioramonti | 2018-08-16 06:37:10 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2018-08-18 16:30:57 +0200 |
commit | 9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3 (patch) | |
tree | fab46172b2fa4f8ef5d46349b110be8095e113de /engines/sludge/sludge.cpp | |
parent | 4016cffd7ad0783eed0497e05a98cfc7684813fa (diff) | |
download | scummvm-rg350-9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3.tar.gz scummvm-rg350-9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3.tar.bz2 scummvm-rg350-9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3.zip |
COMMON: allow cos/sin number of points to be more flexible
Previously, the cos/sin table had to be a power of 2, but there
are many use cases where the number of points is not necessarily
a power of 2 so this change the constructor so it now takes
in the number of points rather than the number of points as the
exponent of a power of 2.
The restriction is that the size must be divisible by 4.
Diffstat (limited to 'engines/sludge/sludge.cpp')
0 files changed, 0 insertions, 0 deletions