Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 25, 2008, 9:07:55 PM (16 years ago)
Author:
rgrieder
Message:

Added documentation for OrxonoxOverlay and clarified the size/actual size mess.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/src/orxonox/overlays/hud/HUDNavigation.cc

    r1621 r1622  
    270270    {
    271271        // use size to compensate for apspect ratio if enabled.
    272         float xScale = this->getSize().x;
    273         float yScale = this->getSize().y;
     272        float xScale = this->getActualSize().x;
     273        float yScale = this->getActualSize().y;
    274274        if (this->navMarker_)
    275275            navMarker_->setDimensions(navMarkerSize_ * xScale, navMarkerSize_ * yScale);
Note: See TracChangeset for help on using the changeset viewer.