EgtMachKernel 1.9e1 :
- adattamenti per funzioni CDe (collision detection).
This commit is contained in:
Binary file not shown.
+2
-2
@@ -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 ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user