private void updateEdgeList(int line, ref SortedDoublyLinkedList <CActiveEdge> ae) { var p = ae.First; while (p != null) { if (line >= p.Value.YUper) { ae.Remove(p); } else { p.Value.XIntersection += p.Value.ReciSlope; } p = p.Next; } }
private void updateEdgeList(int line, ref SortedDoublyLinkedList<CActiveEdge> ae) { var p = ae.First; while (p != null) { if (line >= p.Value.YUper) { ae.Remove(p); } else p.Value.XIntersection += p.Value.ReciSlope; p = p.Next; } }