eltopo3d/surftrack.cpp
// ---------------------------------------------------------
///
/// Remove a vertex from the surface.  Update the acceleration grid. 
///
// ---------------------------------------------------------
Remove a vertex from the surface.  Update the acceleration grid.
Remove a vertex from the surface . Update the acceleration grid .
void SurfTrack::remove_vertex( size_t vertex_index )
{
    m_mesh.remove_vertex( vertex_index );
    if ( m_collision_safety )
    {
        m_broad_phase->remove_vertex( vertex_index );
    }
    m_vertex_change_history.push_back( VertexUpdateEvent( VertexUpdateEvent::VERTEX_REMOVE, vertex_index, Vec2st(0,0) ) );
}
void SurfTrack :: remove_vertex ( size_t vertex_index ) { m_mesh . remove_vertex ( vertex_index ) ; if ( m_collision_safety ) { m_broad_phase -> remove_vertex ( vertex_index ) ; } m_vertex_change_history . push_back ( VertexUpdateEvent ( VertexUpdateEvent :: VERTEX_REMOVE , vertex_index , Vec2st ( 0 , 0 ) ) ) ; }
Remove a vertex from the surface.
Remove a vertex from the surface .