29#ifndef PX_SIMPLE_TRIANGLE_MESH_H
30#define PX_SIMPLE_TRIANGLE_MESH_H
35#include "foundation/PxVec3.h"
36#include "foundation/PxFlags.h"
37#include "common/PxCoreUtilityTypes.h"
38#include "common/PxPhysXCommonConfig.h"
Container for bitfield flag variables associated with a specific enum type.
Definition PxFlags.h:73
A structure describing a triangle mesh.
Definition PxSimpleTriangleMesh.h:83
PX_INLINE PxSimpleTriangleMesh()
constructor sets to default.
Definition PxSimpleTriangleMesh.h:128
PxBoundedData triangles
Pointer to first triangle.
Definition PxSimpleTriangleMesh.h:106
PxBoundedData points
Pointer to first vertex point.
Definition PxSimpleTriangleMesh.h:89
PX_INLINE bool isValid() const
returns true if the current settings are valid
Definition PxSimpleTriangleMesh.h:137
PxMeshFlags flags
Flags bits, combined from values of the enum ::PxMeshFlag.
Definition PxSimpleTriangleMesh.h:111
PX_INLINE void setToDefault()
(re)sets the structure to the default.
Definition PxSimpleTriangleMesh.h:132
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
PxFlags< PxMeshFlag::Enum, PxU16 > PxMeshFlags
collection of set bits defined in PxMeshFlag.
Definition PxSimpleTriangleMesh.h:75
Definition PxCoreUtilityTypes.h:96
Enum with flag values to be used in PxSimpleTriangleMesh::flags.
Definition PxSimpleTriangleMesh.h:49
Enum
Definition PxSimpleTriangleMesh.h:51
@ e16_BIT_INDICES
Denotes the use of 16-bit vertex indices.
Definition PxSimpleTriangleMesh.h:66
@ eFLIPNORMALS
Specifies if the SDK should flip normals.
Definition PxSimpleTriangleMesh.h:65
PxU32 stride
The offset in bytes between consecutive samples in the data.
Definition PxCoreUtilityTypes.h:51