29#ifndef GU_COOKING_CONVEX_HULL_BUILDER_H
30#define GU_COOKING_CONVEX_HULL_BUILDER_H
32#include "cooking/PxCooking.h"
34#include "GuConvexMeshData.h"
35#include "foundation/PxUserAllocated.h"
45 struct ConvexHullData;
54 bool init(PxU32 nbVerts,
const PxVec3* verts,
const PxU32* indices,
const PxU32 nbIndices,
const PxU32 nbPolygons,
60 bool createEdgeList(
bool doValidation, PxU32 nbEdges);
61 bool checkHullPolygons()
const;
63 bool calculateVertexMapTable(PxU32 nbPolygons,
bool userPolygons =
false);
71 PxVec3* mHullDataHullVertices;
73 PxU8* mHullDataVertexData8;
74 PxU8* mHullDataFacesByEdges8;
75 PxU8* mHullDataFacesByVertices8;
Definition GuCookingConvexHullBuilder.h:49
PxU16 * mEdgeData16
Edge indices indexed by hull polygons.
Definition GuCookingConvexHullBuilder.h:77
PxU16 * mEdges
Edge to vertex mapping.
Definition GuCookingConvexHullBuilder.h:78
Definition GuCookingConvexHullLib.h:40
Output stream class for I/O.
Definition PxIO.h:114
Definition PxUserAllocated.h:43
3 Element vector class.
Definition PxVec3.h:50
#define PX_INLINE
Definition PxPreprocessor.h:320
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition GuConvexMeshData.h:109
PxU8 mNbPolygons
Number of planar polygons composing the hull.
Definition GuConvexMeshData.h:126
Definition GuConvexMeshData.h:49
Polygon data.
Definition PxConvexMesh.h:50