Changeset 8195 in orxonox.OLD for branches/bsp_model/src/lib/graphics/importer/bsp_file.cc
- Timestamp:
- Jun 7, 2006, 3:14:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/bsp_model/src/lib/graphics/importer/bsp_file.cc
r8186 r8195 37 37 #include <SDL/SDL_image.h> 38 38 39 // STL Containers 40 #include <vector> 41 39 42 using namespace std; 40 43 … … 50 53 int BspFile::read(const char* name) 51 54 { 52 //this->scale = 0.4;55 this->scale = 1.0; 53 56 int offset; 54 57 int size; … … 605 608 sc = ((unsigned char *)(&lightMapTexture))[i]; 606 609 sc *= 1/255.0; 607 scale = 2.0;610 scale = 1.0; 608 611 if(sc > 1.0f && (temp = (1.0f/sc)) < scale) scale=temp; 609 612 scale*=255.0;
Note: See TracChangeset
for help on using the changeset viewer.