Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6676


Ignore:
Timestamp:
Apr 6, 2010, 11:00:44 AM (15 years ago)
Author:
rgrieder
Message:

Removed some msvc float warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/pickup/PickupRepresentation.cc

    r6540 r6676  
    156156        StaticEntity* representation = new StaticEntity(spawner);
    157157        Billboard* sphere = new Billboard(spawner);
    158         sphere->setColour(ColourValue(0.95, 0.85, 0.27));
     158        sphere->setColour(ColourValue(0.95f, 0.85f, 0.27f));
    159159        sphere->setMaterial("Sphere2");
    160         sphere->setScale(0.1);
     160        sphere->setScale(0.1f);
    161161        Billboard* icon = new Billboard(spawner);
    162         icon->setColour(ColourValue(0.89, 0.79, 0.08));
     162        icon->setColour(ColourValue(0.89f, 0.79f, 0.08f));
    163163        icon->setMaterial("Asterix");
    164164        icon->setScale(0.5);
Note: See TracChangeset for help on using the changeset viewer.