Panda3D
|
00001 // Filename: physxBodyDesc.I 00002 // Created by: enn0x (05Sep09) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 00016 00017 //////////////////////////////////////////////////////////////////// 00018 // Function: PhysxBodyDesc::Constructor 00019 // Access: Published 00020 // Description: 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE PhysxBodyDesc:: 00023 PhysxBodyDesc() { 00024 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: PhysxBodyDesc::Destructor 00029 // Access: Published 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 INLINE PhysxBodyDesc:: 00033 ~PhysxBodyDesc() { 00034 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: PhysxBodyDesc::set_to_default 00039 // Access: Published 00040 // Description: (re)sets the structure to the default. 00041 //////////////////////////////////////////////////////////////////// 00042 INLINE void PhysxBodyDesc:: 00043 set_to_default() { 00044 00045 _desc.setToDefault(); 00046 } 00047 00048 //////////////////////////////////////////////////////////////////// 00049 // Function: PhysxBodyDesc::is_valid 00050 // Access: Published 00051 // Description: Returns true if the descriptor is valid. 00052 //////////////////////////////////////////////////////////////////// 00053 INLINE bool PhysxBodyDesc:: 00054 is_valid() const { 00055 00056 return _desc.isValid(); 00057 } 00058