22 #if !defined(AFX_DGCOLLISIONCONE_H__AS235640FER__INCLUDED_) 23 #define AFX_DGCOLLISIONCONE_H__AS235640FER__INCLUDED_ 25 #include "dgCollisionConvex.h" 27 #define DG_CONE_SEGMENTS 8 37 void Init(dgFloat32 radius, dgFloat32 height);
41 virtual dgInt32 CalculatePlaneIntersection(
const dgVector &normal,
const dgVector &origin,
dgVector *
const contactsOut)
const;
42 virtual dgInt32 CalculatePlaneIntersectionSimd(
const dgVector &normal,
const dgVector &point,
dgVector *
const contactsOut)
const;
46 virtual void DebugCollision(
const dgMatrix &matrix, OnDebugCollisionMeshCallback callback,
void *
const userData)
const;
50 virtual dgInt32 CalculateSignature()
const;
53 virtual void Serialize(dgSerialize callback,
void *
const userData)
const;
66 dgVector m_vertex[DG_CONE_SEGMENTS + 1];
67 static dgInt32 m_shapeRefCount;
Definition: dgCollision.h:73
Definition: dgCollisionConvex.h:29
Definition: dgVector.h:86
Definition: dgCollisionConvex.h:39
Definition: dgMatrix.h:41
Definition: dgMemory.h:80
Definition: dgWorld.h:118
Definition: dgCollisionCone.h:30