EgtMachKernel 1.9e1 :

- adattamenti per funzioni CDe (collision detection).
This commit is contained in:
Dario Sassi
2018-04-30 15:03:32 +00:00
parent 2164f2e651
commit 64d4b20f6a
2 changed files with 2 additions and 2 deletions
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -28,7 +28,7 @@
#include "/EgtDev/Include/EGkIntersCurves.h"
#include "/EgtDev/Include/EGkIntersLineSurfTm.h"
#include "/EgtDev/Include/EGkGeomDB.h"
#include "/EgtDev/Include/EGkCDBoxPolyhedron.h"
#include "/EgtDev/Include/EGkCDeBoxPolyhedron.h"
#include "/EgtDev/Include/EXeConst.h"
#include "/EgtDev/Include/EgtPointerOwner.h"
@@ -1999,7 +1999,7 @@ Operation::TestCollisionAvoid( const DBLVECTOR& vAxStart, const DBLVECTOR& vAxEn
// solido
const ISurfTriMesh* pStm = GetSurfTriMesh( m_pGeomDB->GetGeoObj( nRawSolidId)) ;
// verifica di collisione tra sottobox e solido
if ( pStm == nullptr || CDBoxPolyhedron( b3Hsol, *pStm)) {
if ( pStm == nullptr || CDeBoxPolyhedron( b3Hsol, *pStm)) {
bCollide = true ;
break ;
}