Removed unused code.
[libopano.git] / src / viewer.c
index d9c5c5d..043cef8 100644 (file)
@@ -30,9 +30,6 @@
 
 void   PV_ExtractStill( TrformStr *TrPtr );
 void   PV_SetInvMakeParams( struct fDesc *stack, struct MakeParams *mp, Image *im , Image *pn );
-int    SetUpAtan();
-int    SetUpSqrt();
-int    SetUpMweights();
 
 void   DrawWindow();
 void   DrawView(int InterPolator);
@@ -116,14 +113,6 @@ int main( int argc, char** argv )
        pano.hfov               = 360.0;
        pano.format     = _equirectangular;
        
-       // Initialize Look-up tables
-       
-       if( SetUpAtan() || SetUpSqrt() || SetUpMweights() )
-       {
-               PrintError("Could not set up LU Tables");
-               exit(0);
-       }
-
        // Set up viewer window
 
        SetImageDefaults( &view );