EgtGraphics 1.6r9 :
- per Zmap si visualizzano anche gli spilloni.
This commit is contained in:
@@ -355,6 +355,26 @@ Scene::DrawGeoObj( const IGdbIterator& iIter, int nPass, const MdStMkCol& siObj)
|
||||
pGraphics->AddTriangle( Tria, TFlags, TNrms) ;
|
||||
}
|
||||
pGraphics->EndTriangles() ;
|
||||
// visualizzazione spilloni
|
||||
pGraphics->AddColor( BLUE) ;
|
||||
POLYLINELIST lstPL ;
|
||||
for ( int i = 0 ; ; ++ i) {
|
||||
bool bOutBreak = false ;
|
||||
for ( int j = 0 ; ; ++ j) {
|
||||
lstPL.clear() ;
|
||||
if ( pZmap->GetDexelLines( 1, j, i, lstPL)) {
|
||||
for ( const auto& PL : lstPL)
|
||||
pGraphics->AddPolyLine( PL) ;
|
||||
}
|
||||
else {
|
||||
if ( j == 0)
|
||||
bOutBreak = true ;
|
||||
break ;
|
||||
}
|
||||
}
|
||||
if ( bOutBreak)
|
||||
break ;
|
||||
}
|
||||
}
|
||||
// se testo
|
||||
else if ( nGeoType == EXT_TEXT) {
|
||||
|
||||
Reference in New Issue
Block a user