EgtInterface 1.6w5 :
- aggiunta EgtGetViewUp.
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user