FXVec2f& FX::FXVec2f::clamp ( FXfloat  lo,
FXfloat  hi 
) [inline]

Clamp values of vector between limits.

Definition at line 137 of file FXVec2f.h.

References FXCLAMP.

00137 {x=FXCLAMP(lo,x,hi);y=FXCLAMP(lo,y,hi);return *this;}


(C) 2002-2009 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Nov 20 18:37:24 2009 for TnFOX by doxygen v1.4.7