Changeset 8145 in orxonox.OLD for trunk/src/lib/graphics/importer
- Timestamp:
- Jun 5, 2006, 11:49:26 AM (19 years ago)
- Location:
- trunk/src/lib/graphics/importer
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/importer/primitive_model.cc
r7729 r8145 104 104 105 105 // defining the binding Faces. 106 unsignedint v1, v2, v3, v4;106 int v1, v2, v3, v4; 107 107 for (int i = 0; i <= detail * 2 -1; i++) 108 108 { … … 235 235 } 236 236 //defining Faces 237 unsignedint v1, v2, v3, v4;237 int v1, v2, v3, v4; 238 238 for (int i = 0; i < detail-1; i++) 239 239 for (int j = 0; j < detail-1; j++) -
trunk/src/lib/graphics/importer/texture.cc
r7790 r8145 218 218 this->setTexture(Texture::loadTexToGL(this->data->getStoredImage())); 219 219 } 220 return true; 220 221 } 221 222 -
trunk/src/lib/graphics/importer/texture.h
r7790 r8145 34 34 bool setSurface(SDL_Surface* newSurface); 35 35 /** @returns true if the Surface has an Alpha Value. */ 36 bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; };36 bool setAlpha(bool hasAlpha) { this->bAlpha = hasAlpha; return this->bAlpha; }; 37 37 bool setTexture(GLuint texture); 38 38
Note: See TracChangeset
for help on using the changeset viewer.