template<class A, class T>inline void osg::clampArrayElementsBetweenRange

(A& value,
  const unsigned int first,
  const unsigned int last,
  const T minValue,
  const T maxValue,
  const char* valueName)

if array elements are between or equal to minValue and maxValue do nothing - legal value, otherise clamp value to specified to range and return warning with valueName specifying which variable was clamped.

Documentation

if array elements are between or equal to minValue and maxValue do nothing - legal value, otherise clamp value to specified to range and return warning with valueName specifying which variable was clamped. Equivilant to calling clampGEQUAL(value,minValue,valueName); clampLEQUAL(value,maxValue,valueName);

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.