Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2011, 5:10:26 PM (14 years ago)
Author:
rgrieder
Message:

Removed 6 MSVC warnings about conversions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/designtools/SkyboxGenerator.cc

    r8232 r8234  
    189189                std::pair<int, int> rotate = this->rotations_[this->faceCounter_];
    190190                if(rotate.first != 0)
    191                     entity->yaw(Degree(rotate.first));
     191                    entity->yaw(Degree((float)rotate.first));
    192192                if(rotate.second != 0)
    193                     entity->pitch(Degree(rotate.second));
     193                    entity->pitch(Degree((float)rotate.second));
    194194               
    195195                COUT(4) << "Created face number " << this->faceCounter_ << "." << endl;
Note: See TracChangeset for help on using the changeset viewer.