EgtGraphics 2.6c2 :

- aggiunta possibilità di visualizzare curve di entità solo in shading
- utilizzata questa possibilità per spigoli vivi di TriMesh e Zmap.
This commit is contained in:
Dario Sassi
2024-03-10 10:22:18 +01:00
parent 49dac32893
commit 7930a229f9
9 changed files with 122 additions and 55 deletions
+5 -5
View File
@@ -33,7 +33,7 @@ void
ObjMultiGraphics::Reset( void)
{
m_bValid = false ;
m_nCurr = - 1 ;
m_nCurr = -1 ;
}
//----------------------------------------------------------------------------
@@ -136,22 +136,22 @@ ObjMultiGraphics::AddPoints( const PNTVECTOR& vPnt, bool bAux)
//----------------------------------------------------------------------------
bool
ObjMultiGraphics::AddLines( const PNTVECTOR& vPnt, bool bAux)
ObjMultiGraphics::AddLines( const PNTVECTOR& vPnt, bool bAux, bool bSurfSha)
{
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
return false ;
m_bValid = true ;
return m_vOEGR[m_nCurr]->AddLines( vPnt, bAux) ;
return m_vOEGR[m_nCurr]->AddLines( vPnt, bAux, bSurfSha) ;
}
//----------------------------------------------------------------------------
bool
ObjMultiGraphics::AddPolyLine( const PolyLine& PL, bool bAux)
ObjMultiGraphics::AddPolyLine( const PolyLine& PL, bool bAux, bool bSurfSha)
{
if ( m_nCurr < 0 || m_nCurr >= int( m_vOEGR.size()))
return false ;
m_bValid = true ;
return m_vOEGR[m_nCurr]->AddPolyLine( PL, bAux) ;
return m_vOEGR[m_nCurr]->AddPolyLine( PL, bAux, bSurfSha) ;
}
//----------------------------------------------------------------------------