Panda3D
physxWheelShapeDesc.I
1 // Filename: physxWheelShapeDesc.I
2 // Created by: enn0x (09Nov09)
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: PhysxWheelShapeDesc::Constructor
19 // Access: Published
20 // Description:
21 ////////////////////////////////////////////////////////////////////
22 INLINE PhysxWheelShapeDesc::
23 PhysxWheelShapeDesc() : PhysxShapeDesc() {
24 
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: PhysxWheelShapeDesc::Destructor
30 // Access: Published
31 // Description:
32 ////////////////////////////////////////////////////////////////////
33 INLINE PhysxWheelShapeDesc::
34 ~PhysxWheelShapeDesc() {
35 
36 }
37 
38 ////////////////////////////////////////////////////////////////////
39 // Function: PhysxWheelShapeDesc::is_valid
40 // Access: Published
41 // Description: Returns true if the descriptor is valid.
42 ////////////////////////////////////////////////////////////////////
43 INLINE bool PhysxWheelShapeDesc::
44 is_valid() const {
45 
46  return _desc.isValid();
47 }
48 
void set_to_default()
(re)sets the structure to the default.
bool is_valid() const
Returns true if the descriptor is valid.
Abstract base class for shape descriptors.