Changeset 6520 in orxonox.OLD for branches/network/src/world_entities/image_entity.cc
- Timestamp:
- Jan 18, 2006, 12:58:14 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/world_entities/image_entity.cc
r6516 r6520 68 68 this->setLayer(E2D_LAYER_TOP); 69 69 this->setRotationSpeed(5); 70 this->setSize(GraphicsEngine::getInstance()->getResolutionX()/10.0 );70 this->setSize(GraphicsEngine::getInstance()->getResolutionX()/10.0, GraphicsEngine::getInstance()->getResolutionY()/10.0); 71 71 72 72 this->setBindNode(this); … … 99 99 * @param size the size in pixels 100 100 */ 101 void ImageEntity::setSize(float size )101 void ImageEntity::setSize(float sizeX, float sizeY) 102 102 { 103 this->setSize2D(size /2, size/2);103 this->setSize2D(sizeX, sizeY); 104 104 } 105 105
Note: See TracChangeset
for help on using the changeset viewer.