EgtExecutor 1.6w5 :
- aggiunta ExeGetViewUp.
This commit is contained in:
@@ -685,6 +685,19 @@ ExeGetGenericView( double* pdAngVertDeg, double* pdAngHorizDeg)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeGetViewUp( Vector3d& vtUp)
|
||||
{
|
||||
IEGrScene* pScene = GetCurrScene() ;
|
||||
VERIFY_SCENE( pScene, false)
|
||||
// recupero direzione in alto di vista
|
||||
if ( &vtUp == nullptr)
|
||||
return false ;
|
||||
vtUp = pScene->GetCameraUp() ;
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
ExeProjectPoint( const Point3d& ptP, Point3d& ptWin)
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user