Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

fixed some compiler warnings (MSVC)

File:
1 edited

Legend:

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

    r11029 r11030  
    8787        model_ = new Model(context);
    8888        model_->setMeshSource("CuboidBody.mesh");
    89         model_->setScale3D(Vector3(xSize_, 30, zSize_));
    90         model_->setPosition(Vector3(xPos_,0,zPos_));
     89        model_->setScale3D(Vector3(xSize_*1.0f, 30.0f, zSize_*1.0f));
     90        model_->setPosition(Vector3(xPos_*1.0f, 0.0f, zPos_*1.0f));
    9191
    9292        this->attach(model_);
     
    9797
    9898        cs_ = new BoxCollisionShape(context);
    99         cs_->setHalfExtents(Vector3(xSize_, 30, zSize_));
    100         cs_->setPosition(Vector3(xPos_,0,zPos_));
     99        cs_->setHalfExtents(Vector3(xSize_*1.0f, 30.0f, zSize_*1.0f));
     100        cs_->setPosition(Vector3(xPos_*1.0f, 0.0f, zPos_*1.0f));
    101101
    102102        this->attachCollisionShape(cs_);
Note: See TracChangeset for help on using the changeset viewer.