/// <summary>
 /// Remove thePrimitive from this set. Will also remove the primitive from the AutoDrawSet.
 /// </summary>
 /// <param name="thePrimitive">The primitive to be removed from this set.</param>
 public void RemoveFromSet(XNACS1Primitive thePrimitive)
 {
     m_DrawSet.Remove(thePrimitive);
     thePrimitive.RemoveFromAutoDrawSet();
 }
 /// <summary>
 /// Remove thePrimitive from this set. Will also remove the primitive from the AutoDrawSet.
 /// </summary>
 /// <param name="thePrimitive">The primitive to be removed from this set.</param>
 public void RemoveFromSet(XNACS1Primitive thePrimitive)
 {
     m_DrawSet.Remove(thePrimitive);
     thePrimitive.RemoveFromAutoDrawSet();
 }