EgtGraphics 2.4h1 :

- in curve composite aggiunti punti intermedi su giunzioni interne tra componenti elementari.
This commit is contained in:
DarioS
2022-08-21 19:26:34 +02:00
parent 68434fba6f
commit 5e317faba6
9 changed files with 101 additions and 4 deletions
+22
View File
@@ -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)