EgtInterface 1.5j6 :
- aggiunte numerose funzionalità in API.
This commit is contained in:
+13
-3
@@ -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
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user