示例#1
0
        public IEmptyShapeImp AddEmptyShape()
        {
            var btEmptyShape = new EmptyShape();

            BtCollisionShapes.Add(btEmptyShape);

            var retval = new EmptyShapeImp();

            retval.BtEmptyShape     = btEmptyShape;
            btEmptyShape.UserObject = retval;
            return(retval);
        }
        public IEmptyShapeImp AddEmptyShape()
        {
            var btEmptyShape = new EmptyShape();
            BtCollisionShapes.Add(btEmptyShape);

            var retval = new EmptyShapeImp();
            retval.BtEmptyShape = btEmptyShape;
            btEmptyShape.UserObject = retval;
            return retval;
        }