Panda3D
panda
src
physx
physxJointLimitDesc.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 physxJointLimitDesc.h
10
* @author enn0x
11
* @date 2009-09-28
12
*/
13
14
#ifndef PHYSXJOINTLIMITDESC_H
15
#define PHYSXJOINTLIMITDESC_H
16
17
#include "
pandabase.h
"
18
19
#include "
physx_includes.h
"
20
21
/**
22
* Describes a joint limit.
23
*/
24
class
EXPCL_PANDAPHYSX
PhysxJointLimitDesc
{
25
26
PUBLISHED:
27
INLINE
PhysxJointLimitDesc
();
28
INLINE
PhysxJointLimitDesc
(
float
value,
float
restitution,
float
hardness);
29
INLINE ~
PhysxJointLimitDesc
();
30
31
void
set_value(
float
value);
32
void
set_restitution(
float
restitution);
33
void
set_hardness(
float
hardness);
34
35
float
get_value()
const
;
36
float
get_restitution()
const
;
37
float
get_hardness()
const
;
38
39
public
:
40
NxJointLimitDesc _desc;
41
};
42
43
#include "
physxJointLimitDesc.I
"
44
45
#endif // PHYSXJOINTLIMITDESC_H
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
physxJointLimitDesc.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PhysxJointLimitDesc
Describes a joint limit.
Definition:
physxJointLimitDesc.h:24
physx_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Generated on Sat Jan 11 2020 15:15:29 for Panda3D by
1.8.17