remove some warnings

This commit is contained in:
erwin coumans
2013-06-03 10:16:50 -07:00
parent a886a978b7
commit 70b4ead641
4 changed files with 4 additions and 5 deletions

View File

@@ -46,8 +46,8 @@ B3_ATTRIBUTE_ALIGNED16(struct) b3Contact4
float getFrictionCoeff() const { return ((float)m_frictionCoeffCmp/(float)0xffff); }
void setFrictionCoeff( float c ) { b3Assert( c >= 0.f && c <= 1.f ); m_frictionCoeffCmp = (unsigned short)(c*0xffff); }
float& getNPoints() { return m_worldNormal[3]; }
float getNPoints() const { return m_worldNormal[3]; }
//float& getNPoints() { return m_worldNormal[3]; }
int getNPoints() const { return (int) m_worldNormal[3]; }
float getPenetration(int idx) const { return m_worldPos[idx][3]; }