buildBoundingSphere() public method

public buildBoundingSphere ( ) : BoundingSphere
return BoundingSphere
 public CDrawableComponent(Game1 game,Unit unit, CModel model)
     : base(game)
 {
     myGame = game;
     this.unit = unit;
     this.cModel = model;
     unit.BoundingSphere = cModel.buildBoundingSphere();
 }
示例#2
0
 public CDrawableComponent(Game1 game, Unit unit, CModel model)
     : base(game)
 {
     myGame              = game;
     this.unit           = unit;
     this.cModel         = model;
     unit.BoundingSphere = cModel.buildBoundingSphere();
 }