EgtGraphics 2.4h1 :
- in curve composite aggiunti punti intermedi su giunzioni interne tra componenti elementari.
This commit is contained in:
@@ -97,6 +97,28 @@ ObjOldGraphics::AddPoint( const Point3d& ptP, bool bAux)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
ObjOldGraphics::AddPoints( const PNTVECTOR& vPnt, bool bAux)
|
||||
{
|
||||
// modo corrente deve essere nullo
|
||||
if ( m_nCurrMode != GL_NONE)
|
||||
return false ;
|
||||
// start
|
||||
AddStart( GL_POINTS, bAux) ;
|
||||
// inserisco i vertici + aggiorno bbox
|
||||
for ( int i = 0 ; i < int( vPnt.size()) ; ++ i) {
|
||||
AddVert3f( vPnt[i]) ;
|
||||
m_b3Loc.Add( vPnt[i]) ;
|
||||
}
|
||||
// fine
|
||||
AddEnd() ;
|
||||
// dichiaro valida la grafica
|
||||
m_bValid = true ;
|
||||
|
||||
return true ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
bool
|
||||
ObjOldGraphics::AddLines( const PNTVECTOR& vPnt, bool bAux)
|
||||
|
||||
Reference in New Issue
Block a user