Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3684 in orxonox.OLD for orxonox/trunk/src/lib


Ignore:
Timestamp:
Mar 30, 2005, 9:56:03 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: diameter instead of radius (makes the spheres smaler

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/importer/primitive_model.cc

    r3658 r3684  
    7070/**
    7171   \brief Builds a Sphere into the Model.
    72    \param size The radius of the Sphere.
     72   \param size The diameter of the Sphere.
    7373   \param detail The detail of the Sphere.
    7474*/
     
    7878  if (detail <= 0)
    7979    detail = 1;
     80  size /= 2;
    8081  //  detail = 2; // make it even
    8182  float df = (float)detail;
Note: See TracChangeset for help on using the changeset viewer.