Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

fixed compiler error (MSVC): static members with non-integral type must be initialized in the .cc file
using upper-case letters for constants.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationHS15/src/orxonox/controllers/FlyingController.h

    r11026 r11028  
    5353
    5454        public:
    55             static const float SPEED = 0.9f/0.02f;              //<! ship's speed
    56             static const float ROTATEFACTOR = 0.6f/0.02f;       //<! ship's rotation factor
     55            static const float SPEED;              //<! ship's speed
     56            static const float ROTATEFACTOR;       //<! ship's rotation factor
    5757 
    5858            FlyingController(Context* context);
Note: See TracChangeset for help on using the changeset viewer.