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

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

if array element value[i] is 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 element value[i] is 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++.