lib/Vector4.cpp
FLOAT_TYPE Vector4::max() {
  FLOAT_TYPE max = -1000000.0;
  
  for (int i=0;i<4;i++)
    if (_v[i]>max)
      max = _v[i];

  return max;
}
/*!
  Returns the largest component of the current vector.
*/
Returns the largest component of the current vector.
Returns the largest component of the current vector .
FLOAT_TYPE Vector4::max() {
  FLOAT_TYPE max = -1000000.0;
  for (int i=0;i<4;i++)
    if (_v[i]>max)
      max = _v[i];
  return max;
}
FLOAT_TYPE Vector4 :: max ( ) { FLOAT_TYPE max = -1000000.0 ; for ( int i = 0 ; i < 4 ; i ++ ) if ( _v [ i ] > max ) max = _v [ i ] ; return max ; }
Returns the largest component of the current vector.
Returns the largest component of the current vector .