Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

fixed some compiler warnings (MSVC)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/modules/hover/HoverFlag.cc

    r11029 r11030  
    7474        model_->setMeshSource("ss_flag_eu.mesh");
    7575        model_->setScale3D(Vector3(5, 5, 5));
    76         model_->setPosition(Vector3(xCoordinate*100 + 50,10,yCoordinate*100 + 50));
     76        model_->setPosition(Vector3(xCoordinate*100.0f + 50.0f,10.0f,yCoordinate*100.0f + 50.0f));
    7777
    7878        this->attach(model_);
     
    8484        cs_ = new BoxCollisionShape(context);
    8585        cs_->setHalfExtents(Vector3(5, 5, 5));
    86         cs_->setPosition(Vector3(xCoordinate*100 + 50,0,yCoordinate*100 + 50));
     86        cs_->setPosition(Vector3(xCoordinate*100.0f + 50.0f,0.0f,yCoordinate*100.0f + 50.0f));
    8787
    8888        this->attachCollisionShape(cs_);
Note: See TracChangeset for help on using the changeset viewer.