EgtInterface 1.6e2 :
- esecutore e lua scorporato in EgtExecutor.
This commit is contained in:
+4
-1
@@ -14,9 +14,9 @@
|
||||
//--------------------------- Include ----------------------------------------
|
||||
#include "stdafx.h"
|
||||
#include "API.h"
|
||||
#include "API_Macro.h"
|
||||
#include "/EgtDev/Include/EInAPI.h"
|
||||
#include "/EgtDev/Include/EGkFrame3d.h"
|
||||
#include "/EgtDev/Include/EGkBBox3d.h"
|
||||
|
||||
using namespace std ;
|
||||
|
||||
@@ -27,6 +27,9 @@ BOOL
|
||||
__stdcall EgtVectorNormalize( double* pdX, double* pdY, double* pdZ,
|
||||
double dEps)
|
||||
{
|
||||
// verifico i parametri
|
||||
if ( pdX == nullptr || pdY == nullptr || pdZ == nullptr)
|
||||
return FALSE ;
|
||||
// eseguo la trasformazione
|
||||
Vector3d vtTemp( *pdX, *pdY, *pdZ) ;
|
||||
if ( ! vtTemp.Normalize( dEps))
|
||||
|
||||
Reference in New Issue
Block a user