00001 // Filename: physxCloth.I 00002 // Created by: enn0x (30Mar10) 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: PhysxCloth::Constructor 00019 // Access: Published 00020 // Description: 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE PhysxCloth:: 00023 PhysxCloth() : PhysxObject() { 00024 00025 } 00026 00027 //////////////////////////////////////////////////////////////////// 00028 // Function: PhysxCloth::Destructor 00029 // Access: Published 00030 // Description: 00031 //////////////////////////////////////////////////////////////////// 00032 INLINE PhysxCloth:: 00033 ~PhysxCloth() { 00034 00035 } 00036 00037 //////////////////////////////////////////////////////////////////// 00038 // Function: PhysxCloth::ls 00039 // Access: Published 00040 // Description: 00041 //////////////////////////////////////////////////////////////////// 00042 INLINE void PhysxCloth:: 00043 ls() const { 00044 00045 ls(nout); 00046 } 00047 00048 //////////////////////////////////////////////////////////////////// 00049 // Function: PhysxCloth::ls 00050 // Access: Published 00051 // Description: 00052 //////////////////////////////////////////////////////////////////// 00053 INLINE void PhysxCloth:: 00054 ls(ostream &out, int indent_level) const { 00055 00056 indent(out, indent_level) << get_type().get_name() 00057 << " " << _name 00058 << " (at 0x" << this << ")"; 00059 00060 if (_node) { 00061 out << " N:0x" << _node; 00062 } 00063 00064 out << "\n"; 00065 } 00066