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 committed Aug 16, 2018
1 parent 9d0a2ce commit 83dcb6013c2865a2eb080175a2025e2718254f2e
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 83dcb60

Please sign in to comment.