Panda3D
physxCylindricalJointDesc.h
1 // Filename: physxCylindricalJointDesc.h
2 // Created by: enn0x (28Sep09)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef PHYSXCYLINDRICALJOINTDESC_H
16 #define PHYSXCYLINDRICALJOINTDESC_H
17 
18 #include "pandabase.h"
19 
20 #include "physxJointDesc.h"
21 #include "physx_includes.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PhysxCylindricalJointDesc
25 // Description : Descriptor class for sliding joint. See
26 // PhysxCylindricalJoint.
27 ////////////////////////////////////////////////////////////////////
28 class EXPCL_PANDAPHYSX PhysxCylindricalJointDesc : public PhysxJointDesc {
29 
30 PUBLISHED:
32  INLINE ~PhysxCylindricalJointDesc();
33 
34  INLINE void set_to_default();
35  INLINE bool is_valid() const;
36 
37 public:
38  NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
39  NxCylindricalJointDesc _desc;
40 };
41 
42 #include "physxCylindricalJointDesc.I"
43 
44 #endif // PHYSXCYLINDRICALJOINTDESC_H
Abstract base class for joint descriptors.
Descriptor class for sliding joint.