Ejemplo n.º 1
0
        //ConeShape
        public IConeShapeImp AddConeShape(float radius, float height)
        {
            var btConeShape = new ConeShape(radius, height);

            BtCollisionShapes.Add(btConeShape);

            var retval = new ConeShapeImp();

            retval.BtConeShape     = btConeShape;
            btConeShape.UserObject = retval;
            return(retval);
        }
        //ConeShape
        public IConeShapeImp AddConeShape(float radius, float height)
        {
            var btConeShape = new ConeShape(radius, height);
            BtCollisionShapes.Add(btConeShape);

            var retval = new ConeShapeImp();
            retval.BtConeShape = btConeShape;
            btConeShape.UserObject = retval;
            return retval;
        }