Panda3D

physxFixedJointDesc.h

00001 // Filename: physxFixedJointDesc.h
00002 // Created by:  enn0x (28Sep09)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef PHYSXFIXEDJOINTDESC_H
00016 #define PHYSXFIXEDJOINTDESC_H
00017 
00018 #include "pandabase.h"
00019 
00020 #include "physxJointDesc.h"
00021 #include "physx_includes.h"
00022 
00023 ////////////////////////////////////////////////////////////////////
00024 //       Class : PhysxFixedJointDesc
00025 // Description : Descriptor class for fixed joint. A fixed joint
00026 //               permits no relative movement between two bodies, 
00027 //               i. e. the bodies are glued together. 
00028 ////////////////////////////////////////////////////////////////////
00029 class EXPCL_PANDAPHYSX PhysxFixedJointDesc : public PhysxJointDesc {
00030 
00031 PUBLISHED:
00032   INLINE PhysxFixedJointDesc();
00033   INLINE ~PhysxFixedJointDesc();
00034 
00035   INLINE void set_to_default();
00036   INLINE bool is_valid() const;
00037 
00038 public:
00039   NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
00040   NxFixedJointDesc _desc;
00041 };
00042 
00043 #include "physxFixedJointDesc.I"
00044 
00045 #endif // PHYSXFIXEDJOINTDESC_H
 All Classes Functions Variables Enumerations