aboutsummaryrefslogtreecommitdiff
path: root/PhysX_3.4/Include/cooking/PxCooking.h
diff options
context:
space:
mode:
authorSheikh Dawood <[email protected]>2018-04-09 10:13:48 -0500
committerSheikh Dawood <[email protected]>2018-04-09 10:13:48 -0500
commit238605d8225a9135d6b60646e05d066e25424eee (patch)
tree2b013bd4946bb3c699d7a06ef1f21be85d367f63 /PhysX_3.4/Include/cooking/PxCooking.h
parentAdd ParamTool.exe (diff)
downloadphysx-3.4-238605d8225a9135d6b60646e05d066e25424eee.tar.xz
physx-3.4-238605d8225a9135d6b60646e05d066e25424eee.zip
PhysX 3.4, APEX 1.4 patch release @23879214
Diffstat (limited to 'PhysX_3.4/Include/cooking/PxCooking.h')
-rw-r--r--PhysX_3.4/Include/cooking/PxCooking.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/PhysX_3.4/Include/cooking/PxCooking.h b/PhysX_3.4/Include/cooking/PxCooking.h
index 05fa3f7d..6b89930b 100644
--- a/PhysX_3.4/Include/cooking/PxCooking.h
+++ b/PhysX_3.4/Include/cooking/PxCooking.h
@@ -488,11 +488,12 @@ public:
\param[in] desc The triangle mesh descriptor to read the mesh from.
\param[in] insertionCallback The insertion interface from PxPhysics.
+ \param[out] condition Result from triangle mesh cooking.
\return PxTriangleMesh pointer on success.
@see cookTriangleMesh() setParams() PxPhysics.createTriangleMesh() PxPhysicsInsertionCallback
*/
- virtual PxTriangleMesh* createTriangleMesh(const PxTriangleMeshDesc& desc, PxPhysicsInsertionCallback& insertionCallback) const = 0;
+ virtual PxTriangleMesh* createTriangleMesh(const PxTriangleMeshDesc& desc, PxPhysicsInsertionCallback& insertionCallback, PxTriangleMeshCookingResult::Enum* condition = NULL) const = 0;
/**
\brief Verifies if the triangle mesh is valid. Prints an error message for each inconsistency found.
@@ -544,11 +545,12 @@ public:
\param[in] desc The convex mesh descriptor to read the mesh from.
\param[in] insertionCallback The insertion interface from PxPhysics.
+ \param[out] condition Result from convex mesh cooking.
\return PxConvexMesh pointer on success
@see cookConvexMesh() setParams() PxPhysicsInsertionCallback
*/
- virtual PxConvexMesh* createConvexMesh(const PxConvexMeshDesc& desc, PxPhysicsInsertionCallback& insertionCallback) const = 0;
+ virtual PxConvexMesh* createConvexMesh(const PxConvexMeshDesc& desc, PxPhysicsInsertionCallback& insertionCallback, PxConvexMeshCookingResult::Enum* condition = NULL) const = 0;
/**
\brief Verifies if the convex mesh is valid. Prints an error message for each inconsistency found.