Exemple #1
0
 public void AddGraphic(Graphic item)
 {
     lock (syncRoot)
     {
         graphics.Add(item);
         engine.AddBodyRange(bodies);
         bodies.Clear();
         engine.AddJointRange(joints);
         joints.Clear();
         engine.AddLogicRange(physicsLogics);
         physicsLogics.Clear();
     }
 }