uninitialized variables-t3d

This commit is contained in:
AzaezelX 2020-05-11 15:30:21 -05:00
parent 87603029db
commit fabd5864fa
27 changed files with 102 additions and 23 deletions

View file

@ -111,7 +111,7 @@ class ShapeBaseConvex : public Convex
Box3F box;
public:
ShapeBaseConvex() { mType = ShapeBaseConvexType; nodeTransform = 0; }
ShapeBaseConvex() :pShapeBase(NULL), transform(NULL), hullId(NULL), nodeTransform(0) { mType = ShapeBaseConvexType; }
ShapeBaseConvex(const ShapeBaseConvex& cv) {
mObject = cv.mObject;
pShapeBase = cv.pShapeBase;