Permalink
Browse files

BLADERUNNER: Update cos/sin table constructor change

They now take in the size rather than the power of 2 exponent.
  • Loading branch information...
dafioram authored and sev- committed Aug 16, 2018
1 parent 9cfc70e commit e859a6f13e97a72407d031c60554550d5adb64d7
Showing with 2 additions and 2 deletions.
  1. +2 −2 engines/bladerunner/bladerunner.cpp
@@ -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();

0 comments on commit e859a6f

Please sign in to comment.