public Add ( BEPUphysics.BroadPhaseSystems.BroadPhaseEntry entry ) : void | ||
entry | BEPUphysics.BroadPhaseSystems.BroadPhaseEntry | Entry to add. |
return | void |
public virtual void Add(BroadPhaseEntry entry)
{
if (entry.BroadPhase == null)
entry.BroadPhase = this;
else
throw new Exception("Cannot add entry; it already belongs to a broad phase.");
}