PxHullPolygon Struct Reference

Polygon data. More...

#include <PxConvexMesh.h>

Public Attributes

PxReal mPlane [4]
 Plane equation for this polygon. More...
 
PxU16 mNbVerts
 Number of vertices/edges in the polygon. More...
 
PxU16 mIndexBase
 Offset in index buffer. More...
 

Detailed Description

Polygon data.

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

Member Data Documentation

◆ mIndexBase

PxU16 PxHullPolygon::mIndexBase

Offset in index buffer.

◆ mNbVerts

PxU16 PxHullPolygon::mNbVerts

Number of vertices/edges in the polygon.

◆ mPlane

PxReal PxHullPolygon::mPlane[4]

Plane equation for this polygon.


The documentation for this struct was generated from the following file: