Sources/CryGame C++/Solution1/CryGame/XArea.cpp
// resets area - clears all segments in area
//////////////////////////////////////////////////////////////////////////

resets area - clears all segments in area
resets area - clears all segments in area
void	CXArea::ClearPoints()
{
	a2DSegment*	carSegment;
	for(unsigned int sIdx=0; sIdx<m_vpSegments.size(); sIdx++)
	{
		carSegment = m_vpSegments[sIdx];
		delete carSegment;
	}
	m_vpSegments.clear();
}
void CXArea :: ClearPoints ( ) { a2DSegment * carSegment ; for ( unsigned int sIdx = 0 ; sIdx < m_vpSegments . size ( ) ; sIdx ++ ) { carSegment = m_vpSegments [ sIdx ] ; delete carSegment ; } m_vpSegments . clear ( ) ; }
resets area - clears all segments in area
resets area - clears all segments in area