EgtInterface 1.5j6 :

- aggiunte numerose funzionalità in API.
This commit is contained in:
Dario Sassi
2014-10-30 08:51:03 +00:00
parent 2e33ab438e
commit e4d952bf32
18 changed files with 559 additions and 107 deletions
+13 -3
View File
@@ -20,9 +20,6 @@
using namespace std ;
//-----------------------------------------------------------------------------
#define VEC_FROM_3D( D, S) { (D)[0] = (S).x ; (D)[1] = (S).y ; (D)[2] = (S).z ; }
//-----------------------------------------------------------------------------
// Vector3d
//-----------------------------------------------------------------------------
@@ -175,6 +172,19 @@ __stdcall EgtVectorLocToLoc( double* pdX, double* pdY, double* pdZ,
return TRUE ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtGetVectorRotation( const double vtS[3], const double vtE[3], const double vtAx[3],
double* pdAngRotDeg, BOOL* pbDet)
{
Vector3d vtSou( vtS) ;
bool bDet ;
bool bOk = vtSou.GetRotation( vtE, vtAx, *pdAngRotDeg, bDet) ;
*pbDet = ( bDet ? TRUE : FALSE) ;
return ( bOk ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
// Point3d
//-----------------------------------------------------------------------------