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