예제 #1
0
 public BepuPhysicsSystem(Game game)
     : base(game)
 {
     this.looper = new BEPUutilities.Threading.ParallelLooper();
     for (int g = 0; g < Environment.ProcessorCount - 1; g++)
     {
         this.looper.AddThread();
     }
     this.space = new Space(this.looper);
 }
예제 #2
0
 public BepuPhysicsSystem(Game game)
     : base(game)
 {
     this.looper = new BEPUutilities.Threading.ParallelLooper();
     for (int g = 0; g < Environment.ProcessorCount - 1; g++)
     {
         this.looper.AddThread();
     }
     this.space = new Space(this.looper);
 }