00001 // Filename: physxForceFieldDesc.I 00002 // Created by: enn0x (06Nov09) 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: PhysxForceFieldDesc::Constructor 00019 // Access: Published 00020 // Description: 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE PhysxForceFieldDesc:: 00023 PhysxForceFieldDesc() { 00024 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: PhysxForceFieldDesc::Destructor 00029 // Access: Published 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 INLINE PhysxForceFieldDesc:: 00033 ~PhysxForceFieldDesc() { 00034 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: PhysxForceFieldDesc::set_to_default 00039 // Access: Published 00040 // Description: (re)sets the structure to the default. 00041 //////////////////////////////////////////////////////////////////// 00042 INLINE void PhysxForceFieldDesc:: 00043 set_to_default() { 00044 00045 _desc.setToDefault(); 00046 set_name(""); 00047 } 00048 00049 //////////////////////////////////////////////////////////////////// 00050 // Function: PhysxForceFieldDesc::is_valid 00051 // Access: Published 00052 // Description: Returns true if the descriptor is valid. 00053 //////////////////////////////////////////////////////////////////// 00054 INLINE bool PhysxForceFieldDesc:: 00055 is_valid() const { 00056 00057 return _desc.isValid(); 00058 } 00059