Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2006, 3:14:46 PM (18 years ago)
Author:
bottac
Message:

merged back from old branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/graphics/importer/bsp_file.cc

    r8186 r8195  
    3737#include <SDL/SDL_image.h>
    3838
     39// STL Containers
     40#include <vector>
     41
    3942using namespace std;
    4043
     
    5053int BspFile::read(const char* name)
    5154{
    52   //this->scale = 0.4;
     55  this->scale = 1.0;
    5356  int offset;
    5457  int size;
     
    605608  sc =  ((unsigned char *)(&lightMapTexture))[i];
    606609  sc *= 1/255.0;
    607   scale = 2.0;
     610  scale = 1.0;
    608611  if(sc > 1.0f && (temp = (1.0f/sc)) < scale) scale=temp;
    609612  scale*=255.0;
Note: See TracChangeset for help on using the changeset viewer.