Panda3D
physxPrismaticJointDesc.h
1 // Filename: physxPrismaticJointDesc.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 PHYSXPRISMATICJOINTDESC_H
16 #define PHYSXPRISMATICJOINTDESC_H
17 
18 #include "pandabase.h"
19 
20 #include "physxJointDesc.h"
21 #include "physx_includes.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PhysxPrismaticJointDesc
25 // Description : Descriptor class for prismatic joint. See
26 // PhysxPrismaticJoint.
27 ////////////////////////////////////////////////////////////////////
28 class EXPCL_PANDAPHYSX PhysxPrismaticJointDesc : public PhysxJointDesc {
29 
30 PUBLISHED:
31  INLINE PhysxPrismaticJointDesc();
32  INLINE ~PhysxPrismaticJointDesc();
33 
34  INLINE void set_to_default();
35  INLINE bool is_valid() const;
36 
37 public:
38  NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
39  NxPrismaticJointDesc _desc;
40 };
41 
42 #include "physxPrismaticJointDesc.I"
43 
44 #endif // PHYSXPRISMATICJOINTDESC_H
Descriptor class for prismatic joint.
Abstract base class for joint descriptors.