uninitialized variables-collision

This commit is contained in:
AzaezelX 2020-05-11 14:33:59 -05:00
parent 1cea8ffacb
commit e9415a0994
18 changed files with 62 additions and 20 deletions

View file

@ -1486,7 +1486,7 @@ void TSStaticPolysoupConvex::getPolyList(AbstractPolyList* list)
void TSStaticPolysoupConvex::getFeatures(const MatrixF& mat, const VectorF& n, ConvexFeature* cf)
{
cf->material = 0;
cf->object = mObject;
cf->mObject = mObject;
// For a tetrahedron this is pretty easy... first
// convert everything into world space.