Exemplo n.º 1
0
        public void Dispose()
        {
            leftVertex  = null;
            rightVertex = null;
            if (clippedVertices != null)
            {
                clippedVertices.Clear();
                manager.Release(clippedVertices);
                clippedVertices = null;
            }
            sites.Clear();

            manager.Release(this);
        }
Exemplo n.º 2
0
 public void Release(LRCollection <Vector2f> clippedVerticesList)
 {
     clippedVerticesList.Clear();
     lrCollectionVector2f.Release(clippedVerticesList);
 }