Changeset 1633 for code/trunk/src/orxonox/overlays/OrxonoxOverlay.h
- Timestamp:
- Jun 29, 2008, 6:45:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/overlays/OrxonoxOverlay.h
r1632 r1633 132 132 133 133 //! Gets the current size that was set (uncorrected) 134 Vector2 getSize() const { return this->size_ * this->sizeCorrection_; }134 const Vector2& getSize() const { return this->size_; } 135 135 136 136 //! Gets the actual size of the overlay on the screen (corrected) 137 const Vector2& getActualSize() const { return this->size_; }137 Vector2 getActualSize() const { return this->size_ * this->sizeCorrection_; } 138 138 139 139 //! Gets the current size correction (default: 1.0, 1.0)
Note: See TracChangeset
for help on using the changeset viewer.