17 INLINE PhysxTriangleMeshDesc::
18 PhysxTriangleMeshDesc() {
21 _desc.pointStrideBytes =
sizeof(NxVec3);
22 _desc.triangleStrideBytes = 3*
sizeof(NxU32);
23 _desc.materialIndexStride =
sizeof(NxMaterialIndex);
24 _desc.points =
nullptr;
25 _desc.triangles =
nullptr;
26 _desc.materialIndices =
nullptr;
36 INLINE PhysxTriangleMeshDesc::
37 ~PhysxTriangleMeshDesc() {
58 return _desc.isValid();
bool is_valid() const
Returns true if the descriptor is valid.