FXVec2d& FX::FXVec2d::clamp ( FXdouble  lo,
FXdouble  hi 
) [inline]

Clamp values of vector between limits.

Definition at line 137 of file FXVec2d.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:23 2009 for TnFOX by doxygen v1.4.7