EgtExecutor 1.6w5 :

- aggiunta ExeGetViewUp.
This commit is contained in:
Dario Sassi
2016-11-29 09:44:26 +00:00
parent 853ee94ca9
commit d11ef13181
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -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)
BIN
View File
Binary file not shown.