diff --git a/EXE_Scene.cpp b/EXE_Scene.cpp index 903cb43..84b83a8 100644 --- a/EXE_Scene.cpp +++ b/EXE_Scene.cpp @@ -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) diff --git a/EgtExecutor.rc b/EgtExecutor.rc index e749188..e4a2ab9 100644 Binary files a/EgtExecutor.rc and b/EgtExecutor.rc differ