public CDrawableComponent(MyGame game, Unit unit, CModel model) : base(game) { myGame = game; this.unit = unit; this.cModel = model; unit.BoundingSphere = cModel.buildBoundingSphere(); unit.BoundingBox = cModel.buildBoundingBox(); }
public CDrawableComponent(MyGame game,Unit unit, CModel model) : base(game) { myGame = game; this.unit = unit; this.cModel = model; unit.BoundingSphere = cModel.buildBoundingSphere(); unit.BoundingBox = cModel.buildBoundingBox(); }