Panda3D
 All Classes Functions Variables Enumerations
physxFixedJointDesc.h
1 // Filename: physxFixedJointDesc.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 PHYSXFIXEDJOINTDESC_H
16 #define PHYSXFIXEDJOINTDESC_H
17 
18 #include "pandabase.h"
19 
20 #include "physxJointDesc.h"
21 #include "physx_includes.h"
22 
23 ////////////////////////////////////////////////////////////////////
24 // Class : PhysxFixedJointDesc
25 // Description : Descriptor class for fixed joint. A fixed joint
26 // permits no relative movement between two bodies,
27 // i. e. the bodies are glued together.
28 ////////////////////////////////////////////////////////////////////
29 class EXPCL_PANDAPHYSX PhysxFixedJointDesc : public PhysxJointDesc {
30 
31 PUBLISHED:
32  INLINE PhysxFixedJointDesc();
33  INLINE ~PhysxFixedJointDesc();
34 
35  INLINE void set_to_default();
36  INLINE bool is_valid() const;
37 
38 public:
39  NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
40  NxFixedJointDesc _desc;
41 };
42 
43 #include "physxFixedJointDesc.I"
44 
45 #endif // PHYSXFIXEDJOINTDESC_H
Abstract base class for joint descriptors.
Descriptor class for fixed joint.