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

bool Impala::Application::Videolympics::PhysicsPart::IsAlmost ( float  a,
float  r 
) [inline]

Definition at line 122 of file PhysicsEngine.h.

Referenced by IsAtTarget().

00123     {
00124         if (a==r) return true;
00125         if ( (a>r && a - r < 0.01) || (r>a && r - a < 0.01))
00126             return true;
00127         return false;
00128     }


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