diff --git a/API_Scene.cpp b/API_Scene.cpp index 138ed13..40364ef 100644 --- a/API_Scene.cpp +++ b/API_Scene.cpp @@ -423,6 +423,19 @@ __stdcall EgtGetGenericView( double* pdAngVertDeg, double* pdAngHorizDeg) return ( ExeGetGenericView( pdAngVertDeg, pdAngHorizDeg) ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetViewUp( double vtUp[3]) +{ + if ( vtUp == nullptr) + return FALSE ; + Vector3d vtTmp ; + if ( ! ExeGetViewUp( vtTmp)) + return FALSE ; + VEC_FROM_3D( vtUp, vtTmp) + return TRUE ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtProjectPoint( const double ptP[3], double ptWin[3]) diff --git a/EgtInterface.rc b/EgtInterface.rc index b79045d..8b9fc0f 100644 Binary files a/EgtInterface.rc and b/EgtInterface.rc differ