22 #if !defined(AFX_DGCOLLISIONCOMPOUND_H__E164CA46_D0ED_46EE_8130_46C4004940BA__INCLUDED_) 23 #define AFX_DGCOLLISIONCOMPOUND_H__E164CA46_D0ED_46EE_8130_46C4004940BA__INCLUDED_ 25 #include "dgCollision.h" 26 #include "dgContact.h" 29 #define DG_COMPOUND_STACK_DEPTH 256 57 DG_MSC_VECTOR_ALIGMENT
60 DG_CLASS_ALLOCATOR(allocator)
69 dgFloat32 BoxClosestDistance(
const dgVector *
const points, dgInt32 count)
const;
82 } DG_GCC_VECTOR_ALIGMENT;
103 virtual dgFloat32 GetVolume()
const;
104 virtual dgFloat32 GetBoxMinRadius()
const;
105 virtual dgFloat32 GetBoxMaxRadius()
const;
112 virtual void DebugCollision(
const dgMatrix &matrix, OnDebugCollisionMeshCallback callback,
void *
const userData)
const;
114 virtual dgVector CalculateVolumeIntegral(
const dgMatrix &globalMatrix, GetBuoyancyPlane bouyancyPlane,
void *
const context)
const;
115 virtual dgFloat32 RayCast(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
116 virtual dgFloat32 RayCastSimd(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
120 virtual dgInt32 CalculateSignature()
const;
123 virtual void Serialize(dgSerialize callback,
void *
const userData)
const;
124 void LinkParentNodes();
144 void ImproveNodeFitness(
dgNodeBase *
const node)
const;
150 dgFloat32 m_boxMinRadius;
151 dgFloat32 m_boxMaxRadius;
155 OnCompoundCollisionPrefilter *m_preCollisionFilter;
Definition: dgCollision.h:73
Definition: dgCollisionCompound.h:84
Definition: dgVector.h:86
Definition: dgCollisionCompound.h:38
Definition: dgCollisionConvex.h:39
Definition: dgCollision.h:178
Definition: dgMatrix.h:41
Definition: dgCollisionCompound.h:58
Definition: dgWorld.h:118
Definition: dgContact.h:53
Definition: dgCollisionCompound.h:31
Definition: dgContact.h:102