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