Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 3, 2016, 8:49:23 PM (8 years ago)
Author:
landauf
Message:

fixed compiler errors (MSVC): StaticEntity has no tick() function + two other errors in FlagHUD and ExplosionPart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/orxonox/worldentities/ExplosionPart.cc

    r11026 r11029  
    145145        direction_.normalise();
    146146
    147         Vector3 finalDirection = direction_ + sin((rnd(0, angle_))*M_PI/180)*velocityOffset;
     147        Vector3 finalDirection = direction_ + sin((rnd(0, angle_))*math::pi/180)*velocityOffset;
    148148
    149149        this->explosionEntity_->setVelocity(finalDirection*rnd(minSpeed_,maxSpeed_));
Note: See TracChangeset for help on using the changeset viewer.