EgtInterface 2.2f4 :

- a funzioni EgtSurfTmAdd, EgtSurfTmSubtract e EgtSurfTmIntersect aggiunto parametro bTwoColors
- aggiunta funzione EgtSurfTmResetTwoColors.
This commit is contained in:
Dario Sassi
2020-06-14 09:51:49 +00:00
parent a566ab2a8f
commit 3a86dbbba4
2 changed files with 13 additions and 6 deletions
+13 -6
View File
@@ -72,21 +72,28 @@ __stdcall EgtSurfTmRemoveFacet( int nId, int nFacet)
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmAdd( int nId1, int nId2)
__stdcall EgtSurfTmAdd( int nId1, int nId2, bool bTwoColors)
{
return ( ExeSurfTmAdd( nId1, nId2) ? TRUE : FALSE) ;
return ( ExeSurfTmAdd( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmSubtract( int nId1, int nId2)
__stdcall EgtSurfTmSubtract( int nId1, int nId2, bool bTwoColors)
{
return ( ExeSurfTmSubtract( nId1, nId2) ? TRUE : FALSE) ;
return ( ExeSurfTmSubtract( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmIntersect( int nId1, int nId2)
__stdcall EgtSurfTmIntersect( int nId1, int nId2, bool bTwoColors)
{
return ( ExeSurfTmIntersect( nId1, nId2) ? TRUE : FALSE) ;
return ( ExeSurfTmIntersect( nId1, nId2, bTwoColors) ? TRUE : FALSE) ;
}
//----------------------------------------------------------------------------
BOOL
__stdcall EgtSurfTmResetTwoColors( int nId)
{
return ( ExeSurfTmResetTwoColors( nId) ? TRUE : FALSE) ;
}