Home || Visual Search || Applications || Architecture || Important Messages || OGL || Src

float Impala::Application::Videolympics::PhysicsPart::Limit ( float  f,
float  max 
) [inline]

Definition at line 62 of file PhysicsEngine.h.

Referenced by CalcForces().

00063     {
00064         if (f > max)
00065             return max;
00066         if (f < -max)
00067             return -max;
00068         return f;
00069     }


Generated on Thu Jan 13 09:16:52 2011 for ImpalaSrc by  doxygen 1.5.1