Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2016, 9:28:44 PM (9 years ago)
Author:
landauf
Message:

fixed some compiler warnings (MSVC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/orxonox/controllers/SectionController.cc

    r11026 r11030  
    192192            case FormationMode::WALL:
    193193            {
    194                 targetRelativePosition = new Vector3 (-2*this->spread_, 0, 0);   
     194                targetRelativePosition = new Vector3 (-2.0f*this->spread_, 0, 0);   
    195195                break;
    196196            }
    197197            case FormationMode::FINGER4:
    198198            {
    199                 targetRelativePosition = new Vector3 (-2*this->spread_, 0, this->spread_);   
     199                targetRelativePosition = new Vector3 (-2.0f*this->spread_, 0, 1.0f*this->spread_);   
    200200                break;
    201201            }
     
    203203            case FormationMode::DIAMOND:
    204204            {
    205                 targetRelativePosition = new Vector3 (-2*this->spread_, 0, this->spread_);                   
     205                targetRelativePosition = new Vector3 (-2.0f*this->spread_, 0, 1.0f*this->spread_);
    206206                break;
    207207            }
Note: See TracChangeset for help on using the changeset viewer.