1 | /* |
2 | * Copyright (c) 2008-2015, NVIDIA CORPORATION. All rights reserved. |
3 | * |
4 | * NVIDIA CORPORATION and its licensors retain all intellectual property |
5 | * and proprietary rights in and to this software, related documentation |
6 | * and any modifications thereto. Any use, reproduction, disclosure or |
7 | * distribution of this software and related documentation without an express |
8 | * license agreement from NVIDIA CORPORATION is strictly prohibited. |
9 | */ |
10 | // Copyright (c) 2004-2008 AGEIA Technologies, Inc. All rights reserved. |
11 | // Copyright (c) 2001-2004 NovodeX AG. All rights reserved. |
12 | |
13 | |
14 | #ifndef PX_PHYSICS_EXTENSIONS_CONSTRAINT_H |
15 | #define PX_PHYSICS_EXTENSIONS_CONSTRAINT_H |
16 | /** \addtogroup extensions |
17 | @{ |
18 | */ |
19 | |
20 | #ifndef PX_DOXYGEN |
21 | namespace physx |
22 | { |
23 | #endif |
24 | |
25 | /** |
26 | \brief Unique identifiers for extensions classes which implement a constraint based on PxConstraint. |
27 | |
28 | \note Users which want to create their own custom constraint types should choose an ID larger or equal to eNEXT_FREE_ID |
29 | and not eINVALID_ID. |
30 | |
31 | @see PxConstraint PxSimulationEventCallback.onConstraintBreak() |
32 | */ |
33 | struct PxConstraintExtIDs |
34 | { |
35 | enum Enum |
36 | { |
37 | eJOINT, |
38 | eVEHICLE_SUSP_LIMIT, |
39 | eVEHICLE_STICKY_TYRE, |
40 | eNEXT_FREE_ID, |
41 | eINVALID_ID = 0x7fffffff |
42 | }; |
43 | }; |
44 | |
45 | #ifndef PX_DOXYGEN |
46 | } // namespace physx |
47 | #endif |
48 | |
49 | /** @} */ |
50 | #endif |
51 | |