Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 12:34:00 AM (14 years ago)
Author:
landauf
Message:

merged doc branch back to trunk

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/graphics/Light.h

    r7163 r7401  
    8383            /**
    8484                @brief Sets the attenuation parameters of the light source i.e. how it diminishes with distance.
     85                @param attenuation The parameters of the attenuation (see description)
    8586
    86                 @param attenuation.x range (The absolute upper range of the light in world units)
    87                 @param attenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation)
    88                 @param attenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance)
    89                 @param attenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula)
     87                 - @a attenuation.x range (The absolute upper range of the light in world units)
     88                 - @a attenuation.y constant (The constant factor in the attenuation formula: 1.0 means never attenuate, 0.0 is complete attenuation)
     89                 - @a attenuation.z linear (The linear factor in the attenuation formula: 1 means attenuate evenly over the distance)
     90                 - @a attenuation.w quadratic (The quadratic factor in the attenuation formula: adds a curvature to the attenuation formula)
    9091
    9192                Quote from the Ogre API:
     
    120121            /**
    121122                @brief Sets the range of a spotlight, i.e. the angle of the inner and outer cones and the rate of falloff between them.
    122 
    123                 @param spotlightRange.x innerAngle (The angle covered by the bright inner cone)
    124                 @param spotlightRange.x outerAngle (The angle covered by the outer cone)
    125                 @param spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.)
     123                @param spotlightRange The parameters of the spotlight (see description)
     124               
     125                 - @a spotlightRange.x innerAngle (The angle covered by the bright inner cone)
     126                 - @a spotlightRange.x outerAngle (The angle covered by the outer cone)
     127                 - @a spotlightRange.x falloff (The rate of falloff between the inner and outer cones. 1.0 means a linear falloff, less means slower falloff, higher means faster falloff.)
    126128            */
    127129            inline void setSpotlightRange(const Vector3& spotlightRange)
Note: See TracChangeset for help on using the changeset viewer.