EgtExecutor :
- aggiunta ExeLoadTexture.
This commit is contained in:
@@ -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) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user