Panda3D
physxFixedJointDesc.h
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file physxFixedJointDesc.h
10  * @author enn0x
11  * @date 2009-09-28
12  */
13 
14 #ifndef PHYSXFIXEDJOINTDESC_H
15 #define PHYSXFIXEDJOINTDESC_H
16 
17 #include "pandabase.h"
18 
19 #include "physxJointDesc.h"
20 #include "physx_includes.h"
21 
22 /**
23  * Descriptor class for fixed joint. A fixed joint permits no relative
24  * movement between two bodies, i. e. the bodies are glued together.
25  */
26 class EXPCL_PANDAPHYSX PhysxFixedJointDesc : public PhysxJointDesc {
27 
28 PUBLISHED:
29  INLINE PhysxFixedJointDesc();
30  INLINE ~PhysxFixedJointDesc();
31 
32  INLINE void set_to_default();
33  INLINE bool is_valid() const;
34 
35 public:
36  NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
37  NxFixedJointDesc _desc;
38 };
39 
40 #include "physxFixedJointDesc.I"
41 
42 #endif // PHYSXFIXEDJOINTDESC_H
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Abstract base class for joint descriptors.
Descriptor class for fixed joint.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.