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, otherwise 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, otherwise clamp value to specified to range and return warning with valueName specifying which variable was clamped. Equivalent 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++.