Beispiel #1
0
 inline T    Saturated       ( const T v )
 {    
     return Clamped( v, T{0}, T{1} );
 }
Beispiel #2
0
Clamped &Clamped::operator=(const float x) {
  operator=(Clamped(x));
  return *this;
}