Public Types | List of all members
PxMeshFlag Struct Reference

Enum with flag values to be used in PxSimpleTriangleMesh::flags. More...

#include <PxSimpleTriangleMesh.h>

Public Types

enum  Enum {
  eFLIPNORMALS = (1<<0),
  e16_BIT_INDICES = (1<<1)
}
 

Detailed Description

Enum with flag values to be used in PxSimpleTriangleMesh::flags.

Member Enumeration Documentation

Enumerator
eFLIPNORMALS 

Specifies if the SDK should flip normals.

The PhysX libraries assume that the face normal of a triangle with vertices [a,b,c] can be computed as: edge1 = b-a edge2 = c-a face_normal = edge1 x edge2.

Note: This is the same as a counterclockwise winding in a right handed coordinate system or alternatively a clockwise winding order in a left handed coordinate system.

If this does not match the winding order for your triangles, raise the below flag.

e16_BIT_INDICES 

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


Copyright © 2008-2015 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. www.nvidia.com