22 #if !defined(AFX_DGCOLLISIONCHAMFERCYLINDER_H__AS235640FER__INCLUDED_) 23 #define AFX_DGCOLLISIONCHAMFERCYLINDER_H__AS235640FER__INCLUDED_ 25 #include "dgCollisionConvex.h" 27 #define DG_CHAMFERCYLINDER_SLICES 4 28 #define DG_CHAMFERCYLINDER_BRAKES 8 40 void Init(dgFloat32 radius, dgFloat32 height);
43 virtual dgFloat32 RayCast(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
44 virtual dgFloat32 RayCastSimd(
const dgVector &localP0,
const dgVector &localP1,
dgContactPoint &contactOut, OnRayPrecastAction preFilter,
const dgBody *
const body,
void *
const userData)
const;
52 virtual dgInt32 CalculatePlaneIntersection(
const dgVector &normal,
const dgVector &origin,
dgVector *
const contactsOut)
const;
53 virtual dgInt32 CalculatePlaneIntersectionSimd(
const dgVector &normal,
const dgVector &point,
dgVector *
const contactsOut)
const;
56 virtual void DebugCollision(
const dgMatrix &matrix, OnDebugCollisionMeshCallback callback,
void *
const userData)
const;
57 virtual dgInt32 CalculateSignature()
const;
60 virtual void Serialize(dgSerialize callback,
void *
const userData)
const;
75 dgVector m_vertex[DG_CHAMFERCYLINDER_BRAKES * (DG_CHAMFERCYLINDER_SLICES + 1)];
76 static dgInt32 m_shapeRefCount;
Definition: dgCollision.h:73
Definition: dgCollisionConvex.h:29
Definition: dgVector.h:86
Definition: dgCollisionConvex.h:39
Definition: dgCollisionChamferCylinder.h:31
Definition: dgMatrix.h:41
Definition: dgMemory.h:80
Definition: dgWorld.h:118