29#ifndef GU_SHAPECONVEX_H
30#define GU_SHAPECONVEX_H
32#include "GuConvexMeshData.h"
40 typedef void (*HullPrefetchCB) (PxU32 numVerts,
const PxVec3*
PX_RESTRICT verts);
41 typedef void (*HullProjectionCB) (
const PolygonalData& data,
const PxVec3& dir,
const PxMat34& world2hull,
const Cm::FastVertex2ShapeScaling& scaling, PxReal& minimum, PxReal& maximum);
42 typedef PxU32 (*SelectClosestEdgeCB) (
const PolygonalData& data,
const Cm::FastVertex2ShapeScaling& scaling,
const PxVec3& localDirection);
55 const PxU8* mPolygonVertexRefs;
56 const PxU8* mFacesByEdges;
57 const PxU16* mVerticesByEdges;
66 HullProjectionCB mProjectHull;
67 SelectClosestEdgeCB mSelectClosestEdgeCB;
71 return mPolygonVertexRefs + poly.
mVRef8;
77 #pragma warning( disable : 4251 )
Definition CmScaling.h:61
Definition GuShapeConvex.h:80
A class expressing a nonuniform scaling transformation.
Definition PxMeshScale.h:69
3 Element vector class.
Definition PxVec3.h:50
#define PX_RESTRICT
Definition PxPreprocessor.h:355
#define PX_FORCE_INLINE
Definition PxPreprocessor.h:335
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition GuBigConvexData.h:61
Definition GuConvexMeshData.h:109
Definition GuConvexMeshData.h:49
PxU16 mVRef8
Offset of vertex references in hull vertex data (CS: can we assume indices are tightly packed and off...
Definition GuConvexMeshData.h:62
Definition GuConvexMeshData.h:87
Definition GuShapeConvex.h:45