Panda3D
panda
src
physx
physxClothDesc.I
1
// Filename: physxClothDesc.I
2
// Created by: enn0x (30Mar10)
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
////////////////////////////////////////////////////////////////////
18
// Function: PhysxClothDesc::Constructor
19
// Access: Published
20
// Description:
21
////////////////////////////////////////////////////////////////////
22
INLINE PhysxClothDesc::
23
PhysxClothDesc() {
24
25
set_to_default
();
26
}
27
28
////////////////////////////////////////////////////////////////////
29
// Function: PhysxClothDesc::Destructor
30
// Access: Published
31
// Description:
32
////////////////////////////////////////////////////////////////////
33
INLINE PhysxClothDesc::
34
~PhysxClothDesc() {
35
36
}
37
38
////////////////////////////////////////////////////////////////////
39
// Function: PhysxClothDesc::set_to_default
40
// Access: Published
41
// Description: (re)sets the structure to the default.
42
////////////////////////////////////////////////////////////////////
43
INLINE
void
PhysxClothDesc::
44
set_to_default
() {
45
46
_desc.setToDefault();
47
set_name(
""
);
48
}
49
50
////////////////////////////////////////////////////////////////////
51
// Function: PhysxClothDesc::is_valid
52
// Access: Published
53
// Description: Returns true if the descriptor is valid.
54
////////////////////////////////////////////////////////////////////
55
INLINE
bool
PhysxClothDesc::
56
is_valid
()
const
{
57
58
return
_desc.isValid();
59
}
60
PhysxClothDesc::is_valid
bool is_valid() const
Returns true if the descriptor is valid.
Definition:
physxClothDesc.I:56
PhysxClothDesc::set_to_default
void set_to_default()
(re)sets the structure to the default.
Definition:
physxClothDesc.I:44
Generated on Wed May 17 2017 23:45:35 for Panda3D by
1.8.13