コード例 #1
0
 /// <summary>
 /// Adds the object to the physics world at the end of the update cycle.
 /// </summary>
 /// <param name="Object"> The object to be added. </param>
 public void AddObject(BulletPhysicsComponent Object)
 {
     ToAdd.Enqueue(Object);
 }
コード例 #2
0
 /// <summary>
 /// Removes an object from the physics world at the end of the update cycle.
 /// </summary>
 /// <param name="Object"> The object to be removed. </param>
 public void RemoveObject(BulletPhysicsComponent Object)
 {
     ToRemove.Enqueue(Object);
 }