aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sludge.cpp
diff options
context:
space:
mode:
authorDavid Fioramonti2018-08-16 06:37:10 -0700
committerEugene Sandulenko2018-08-18 16:30:57 +0200
commit9cfc70e7fe881cfbd680322b6beeb9a7ab7149c3 (patch)
treefab46172b2fa4f8ef5d46349b110be8095e113de /engines/sludge/sludge.cpp
parent4016cffd7ad0783eed0497e05a98cfc7684813fa (diff)
downloadscummvm-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