EgtInterface 1.6w5 :

- aggiunta EgtGetViewUp.
This commit is contained in:
Dario Sassi
2016-11-29 09:45:02 +00:00
parent 2f5c0a27cb
commit 95eef30782
2 changed files with 13 additions and 0 deletions
+13
View File
@@ -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])