diff options
Diffstat (limited to 'extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h')
-rw-r--r-- | extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h b/extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h index caf54329da9..bbd1caf42fb 100644 --- a/extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h +++ b/extern/bullet2/src/BulletCollision/CollisionShapes/btConvex2dShape.h @@ -21,12 +21,14 @@ subject to the following restrictions: ///The btConvex2dShape allows to use arbitrary convex shapes as 2d convex shapes, with the Z component assumed to be 0. ///For 2d boxes, the btBox2dShape is recommended. -class btConvex2dShape : public btConvexShape +ATTRIBUTE_ALIGNED16(class) btConvex2dShape : public btConvexShape { btConvexShape* m_childConvexShape; public: + BT_DECLARE_ALIGNED_ALLOCATOR(); + btConvex2dShape( btConvexShape* convexChildShape); virtual ~btConvex2dShape(); |