21 #ifndef GRT_MINMAX_HEADER
22 #define GRT_MINMAX_HEADER
24 #include "GRTTypedefs.h"
31 MinMax():minValue(0),maxValue(0){};
32 MinMax(Float minValue,Float maxValue){
33 this->minValue = minValue;
34 this->maxValue = maxValue;
40 this->minValue = rhs.minValue;
41 this->maxValue = rhs.maxValue;
46 bool updateMinMax(Float newValue){
47 if( newValue < minValue ){
51 if( newValue > maxValue ){
64 #endif //GRT_MINMAX_HEADER