EgtInterface 1.5j6 :
- aggiunte numerose funzionalità in API.
This commit is contained in:
+2
-2
@@ -73,12 +73,12 @@ __stdcall EgtGetCurrentContext( void)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSetDefaultMaterial( int nRed, int nGreen, int nBlue)
|
||||
__stdcall EgtSetDefaultMaterial( const int vCol[4])
|
||||
{
|
||||
GseContext* pGseCtx = GetCurrGseContext() ;
|
||||
VERIFY_CTX_GEOMDB( pGseCtx, FALSE)
|
||||
// imposto il materiale di default
|
||||
pGseCtx->m_colDef.Set( nRed, nGreen, nBlue) ;
|
||||
pGseCtx->m_colDef.Set( vCol) ;
|
||||
pGseCtx->m_pGeomDB->SetDefaultMaterial( pGseCtx->m_colDef) ;
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user