Some fine-tuning to bowling balls. Optimized code by removing repetitive calls to sqrt() (forgot one file)

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2008-08-06 00:54:05 +00:00
parent ec26ddb1ed
commit 78d5cf65aa

View File

@ -53,7 +53,7 @@ protected:
static float m_st_force_updown[COLLECT_MAX]; // force pushing up/down
static btVector3 m_st_extend[COLLECT_MAX]; // size of the model
void getClosestKart(const Kart **minKart, float *minDist,
void getClosestKart(const Kart **minKart, float *minDistSquared,
btVector3 *minDelta) const;
void createPhysics(float y_offset,
const btVector3 velocity,