43 lines
1.0 KiB
C++
43 lines
1.0 KiB
C++
/**
|
|
* PANDA 3D SOFTWARE
|
|
* Copyright (c) Carnegie Mellon University. All rights reserved.
|
|
*
|
|
* All use of this software is subject to the terms of the revised BSD
|
|
* license. You should have received a copy of this license along
|
|
* with this source code in a file named "LICENSE."
|
|
*
|
|
* @file physxFixedJointDesc.h
|
|
* @author enn0x
|
|
* @date 2009-09-28
|
|
*/
|
|
|
|
#ifndef PHYSXFIXEDJOINTDESC_H
|
|
#define PHYSXFIXEDJOINTDESC_H
|
|
|
|
#include "pandabase.h"
|
|
|
|
#include "physxJointDesc.h"
|
|
#include "physx_includes.h"
|
|
|
|
/**
|
|
* Descriptor class for fixed joint. A fixed joint permits no relative
|
|
* movement between two bodies, i. e. the bodies are glued together.
|
|
*/
|
|
class EXPCL_PANDAPHYSX PhysxFixedJointDesc : public PhysxJointDesc {
|
|
|
|
PUBLISHED:
|
|
INLINE PhysxFixedJointDesc();
|
|
INLINE ~PhysxFixedJointDesc();
|
|
|
|
INLINE void set_to_default();
|
|
INLINE bool is_valid() const;
|
|
|
|
public:
|
|
NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
|
|
NxFixedJointDesc _desc;
|
|
};
|
|
|
|
#include "physxFixedJointDesc.I"
|
|
|
|
#endif // PHYSXFIXEDJOINTDESC_H
|