PxHullPolygon

Defined in include/geometry/PxConvexMesh.h

struct PxHullPolygon

Polygon data.

Plane format: (mPlane[0],mPlane[1],mPlane[2]).dot(x) + mPlane[3] = 0 With the normal outward-facing from the hull.

Public Members

PxReal mPlane[4]

Plane equation for this polygon.

PxU16 mNbVerts

Number of vertices/edges in the polygon.

PxU16 mIndexBase

Offset in index buffer.