Panda3D

Loading...
Searching...
No Matches
physxCylindricalJointDesc.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 physxCylindricalJointDesc.h
10 * @author enn0x
11 * @date 2009-09-28
12 */
13
14#ifndef PHYSXCYLINDRICALJOINTDESC_H
15#define PHYSXCYLINDRICALJOINTDESC_H
16
17#include "pandabase.h"
18
19#include "physxJointDesc.h"
20#include "physx_includes.h"
21
22/**
23 * Descriptor class for sliding joint. See PhysxCylindricalJoint.
24 */
25 class EXPCL_PANDAPHYSX PhysxCylindricalJointDesc : public PhysxJointDesc {
26
27PUBLISHED:
28 INLINE PhysxCylindricalJointDesc();
29 INLINE ~PhysxCylindricalJointDesc();
30
31 INLINE void set_to_default();
32 INLINE bool is_valid() const;
33
34 public:
35 NxJointDesc *ptr() const { return (NxJointDesc *)&_desc; };
36 NxCylindricalJointDesc _desc;
37};
38
39#include "physxCylindricalJointDesc.I"
40
41#endif // PHYSXCYLINDRICALJOINTDESC_H
PhysxCylindricalJointDesc::set_to_default
void set_to_default()
(re)sets the structure to the default.
Definition physxCylindricalJointDesc.I:35
PhysxCylindricalJointDesc::is_valid
bool is_valid() const
Returns true if the descriptor is valid.
Definition physxCylindricalJointDesc.I:45
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxCylindricalJointDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxJointDesc.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.