EgtExecutor :

- aggiunta ExeLoadTexture.
This commit is contained in:
Dario Sassi
2015-09-28 16:14:21 +00:00
parent 3a3b43ee8c
commit b39c22bcf0
+11
View File
@@ -674,3 +674,14 @@ ExeUnProjectPoint( int nWinX, int nWinY, Point3d& ptP)
Point3d ptView( nWinX, nWinY, pScene->GetProjectedCenter().z) ;
return pScene->UnProject( ptView, ptP) ;
}
//-----------------------------------------------------------------------------
bool
ExeLoadTexture( const std::string& sName, const std::string& sFile,
double dDimX, double dDimY, bool bRepeat)
{
IEGrScene* pScene = GetCurrScene() ;
VERIFY_SCENE( pScene, false)
// lancio il caricamento della texture
return pScene->LoadTexture( sName, sFile, dDimX, dDimY, bRepeat) ;
}