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

Clamp values of vector between limits.

Definition at line 154 of file FXVec4d.h.

References FXCLAMP.

00154 {x=FXCLAMP(lo,x,hi);y=FXCLAMP(lo,y,hi);z=FXCLAMP(lo,z,hi);w=FXCLAMP(lo,w,hi);return *this;}


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