removed some warnings, as reported here:
http://code.google.com/p/bullet/issues/detail?id=123 Thanks sparkprime
This commit is contained in:
@@ -55,7 +55,7 @@ bool CHull::overlap(const CHull &h) const
|
||||
ConvexBuilder::ConvexBuilder(ConvexDecompInterface *callback)
|
||||
{
|
||||
mCallback = callback;
|
||||
};
|
||||
}
|
||||
|
||||
ConvexBuilder::~ConvexBuilder(void)
|
||||
{
|
||||
|
||||
@@ -374,4 +374,4 @@ void calcConvexDecomposition(unsigned int vcount,
|
||||
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -3232,4 +3232,4 @@ void HullLibrary::BringOutYourDead(const float *verts,unsigned int vcount, float
|
||||
free(used);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1172,14 +1172,14 @@ inline Vector3d operator * (float s, const Vector3d &v )
|
||||
{
|
||||
Vector3d Scaled(v.x*s, v.y*s, v.z*s);
|
||||
return(Scaled);
|
||||
};
|
||||
}
|
||||
|
||||
inline Vector2d operator * (float s, const Vector2d &v )
|
||||
{
|
||||
Vector2d Scaled(v.x*s, v.y*s);
|
||||
return(Scaled);
|
||||
};
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -857,4 +857,4 @@ unsigned int WavefrontObj::loadObj(const char *fname) // load a wavefront obj re
|
||||
return ret;
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -57,6 +57,6 @@ public:
|
||||
float *mVertices;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -792,4 +792,4 @@ float computeConcavity(unsigned int vcount,
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ float computeConcavity(unsigned int vcount,
|
||||
float &volume);
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -303,4 +303,4 @@ bool computeSplitPlane(unsigned int vcount,
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user