minor warning fixes, issue with "direction[i] = direction[i];" on OSX

This commit is contained in:
erwin.coumans
2010-02-23 18:08:44 +00:00
parent 621eddb769
commit 1425feec26
7 changed files with 11 additions and 10 deletions

View File

@@ -106,7 +106,7 @@ void computeBestFitOBB(unsigned int vcount,const float *points,unsigned int pstr
float steps = 8.0f; // 16 steps on each axis.
float bestVolume = 1e9;
float angle[3];
float angle[3]={0.f,0.f,0.f};
while ( sweep >= 1 )
{