29#ifndef PX_GEOMETRY_INTERNAL_H
30#define PX_GEOMETRY_INTERNAL_H
34#include "common/PxPhysXCommonConfig.h"
35#include "foundation/PxVec3.h"
36#include "geometry/PxTriangleMesh.h"
67 return mNbVertices *
sizeof(
PxVec3);
73 return mNbTriangles * 3 * triangleSize;
78 return mNbTriangles *
sizeof(PxU32);
83 return mNbNodes * mNodeSize;
102 return mNbNodes * mNodeSize;
107 return mNbIndices *
sizeof(PxU32);
112 return (mNbIndices+1)*6;
Class representing a bounding volume hierarchy.
Definition PxBVH.h:63
A triangle mesh, also called a 'polygon soup'.
Definition PxTriangleMesh.h:118
3 Element vector class.
Definition PxVec3.h:50
#define PX_CALL_CONV
Definition PxPreprocessor.h:299
#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 PxGeometryInternal.h:92
@ e16_BIT_INDICES
The triangle mesh has 16bits vertex indices.
Definition PxTriangleMesh.h:75
Definition PxGeometryInternal.h:46