コード例 #1
0
 // Vertex Source Interface
 public void Rewind(uint idx)
 {
     if (m_status == Status.Initial)
     {
         m_src_vertices.Close(m_closed != 0);
         Path.ShortenPath(m_src_vertices, m_shorten, m_closed);
         if (m_src_vertices.Size() < 3)
         {
             m_closed = 0;
         }
     }
     m_status     = Status.Ready;
     m_src_vertex = 0;
     m_out_vertex = 0;
 }