From 1965ff286ba2b57e3a0913f15b3fe71a13f9a8a1 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 18 Oct 2013 09:16:55 -0700 Subject: [PATCH] fix unix build buster for starfield --- interface/src/starfield/renderer/Tiling.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/interface/src/starfield/renderer/Tiling.h b/interface/src/starfield/renderer/Tiling.h index 7edbfd6656..53b17a9844 100755 --- a/interface/src/starfield/renderer/Tiling.h +++ b/interface/src/starfield/renderer/Tiling.h @@ -12,10 +12,10 @@ #include "starfield/Config.h" namespace starfield { - + const float LOG2 = 1.4426950408889634; + class Tiling { public: - Tiling(unsigned tileResolution) : _tileResolution(tileResolution), _rcpSlice(tileResolution / Radians::twicePi()) { _nBits = ceil(log(getTileCount()) * LOG2); } @@ -39,10 +39,7 @@ namespace starfield { unsigned _tileResolution; float _rcpSlice; unsigned _nBits; - - const float LOG2 = 1.4426950408889634; }; - } #endif