Changeset 7214 in orxonox.OLD for branches/std/src/world_entities/elements
- Timestamp:
- Mar 10, 2006, 7:18:03 PM (19 years ago)
- Location:
- branches/std/src/world_entities/elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/std/src/world_entities/elements/image_entity.cc
r7193 r7214 106 106 * @param textureFile The texture-file to load onto the crosshair 107 107 */ 108 void ImageEntity::setTexture(const char*textureFile)108 void ImageEntity::setTexture(const std::string& textureFile) 109 109 { 110 110 this->material->setDiffuseMap(textureFile); -
branches/std/src/world_entities/elements/image_entity.h
r7016 r7214 30 30 31 31 void setSize(float sizeX, float sizeY); 32 void setTexture(const char*textureFile);32 void setTexture(const std::string& textureFile); 33 33 /** @param rotationSpeed the speed at what the crosshair should rotate */ 34 34 void setRotationSpeed(float rotationSpeed) { this->rotationSpeed = rotationSpeed; };
Note: See TracChangeset
for help on using the changeset viewer.