Panda3D
panda
src
physx
physxMotorDesc.I
1
// Filename: physxMotorDesc.I
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
16
////////////////////////////////////////////////////////////////////
17
// Function: PhysxMotorDesc::Constructor
18
// Access: Published
19
// Description:
20
////////////////////////////////////////////////////////////////////
21
INLINE PhysxMotorDesc::
22
PhysxMotorDesc() {
23
24
}
25
26
////////////////////////////////////////////////////////////////////
27
// Function: PhysxMotorDesc::Constructor
28
// Access: Published
29
// Description:
30
////////////////////////////////////////////////////////////////////
31
INLINE PhysxMotorDesc::
32
PhysxMotorDesc(
float
velTarget,
float
maxForce,
bool
freeSpin) {
33
34
_desc.velTarget = velTarget;
35
_desc.maxForce = maxForce;
36
_desc.freeSpin = freeSpin;
37
}
38
39
////////////////////////////////////////////////////////////////////
40
// Function: PhysxMotorDesc::Destructor
41
// Access: Published
42
// Description:
43
////////////////////////////////////////////////////////////////////
44
INLINE PhysxMotorDesc::
45
~PhysxMotorDesc() {
46
47
}
48
Generated on Wed May 17 2017 23:45:53 for Panda3D by
1.8.13