Exemplo n.º 1
0
 //! Use this method for adding children. Only Convex shapes are allowed.
 public void AddChildShape(CollisionShape shape)
 {
     Debug.Assert(shape.IsConvex());
     m_childShapes.Add(shape);
 }
Exemplo n.º 2
0
 //! Use this method for adding children. Only Convex shapes are allowed.
 public void AddChildShape(ref IndexedMatrix localTransform, CollisionShape shape)
 {
     Debug.Assert(shape.IsConvex());
     m_childTransforms.Add(localTransform);
     m_childShapes.Add(shape);
 }