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