BLADERUNNER: Update cos/sin table constructor change

They now take in the size rather than the power of 2 exponent.
This commit is contained in:
David Fioramonti 2018-08-16 06:41:51 -07:00 committed by Eugene Sandulenko
parent 9cfc70e7fe
commit e859a6f13e

View file

@ -315,8 +315,8 @@ bool BladeRunnerEngine::startup(bool hasSavegames) {
// Seed rand
// TODO: Sine and cosine lookup tables for intervals of 1.0, 4.0, and 12.0
_cosTable1024 = new Common::CosineTable(10); // 10-bits = 1024 points for 2*PI;
_sinTable1024 = new Common::SineTable(10);
_cosTable1024 = new Common::CosineTable(1024); // 10-bits = 1024 points for 2*PI;
_sinTable1024 = new Common::SineTable(1024);
_view = new View();