Panda3D
|
00001 // Filename: physxScene.I 00002 // Created by: enn0x (14Sep09) 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: PhysxScene::Constructor 00019 // Access: Published 00020 // Description: 00021 //////////////////////////////////////////////////////////////////// 00022 INLINE PhysxScene:: 00023 PhysxScene() : PhysxObject() { 00024 00025 _debugNode = new PhysxDebugGeomNode(); 00026 } 00027 00028 //////////////////////////////////////////////////////////////////// 00029 // Function: PhysxScene::Destructor 00030 // Access: Published 00031 // Description: 00032 //////////////////////////////////////////////////////////////////// 00033 INLINE PhysxScene:: 00034 ~PhysxScene() { 00035 00036 _debugNode = NULL; 00037 } 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Function: PhysxScene::ls 00041 // Access: Published 00042 // Description: 00043 //////////////////////////////////////////////////////////////////// 00044 INLINE void PhysxScene:: 00045 ls() const { 00046 00047 ls(nout); 00048 } 00049 00050 //////////////////////////////////////////////////////////////////// 00051 // Function: PhysxScene::ls 00052 // Access: Published 00053 // Description: 00054 //////////////////////////////////////////////////////////////////// 00055 INLINE void PhysxScene:: 00056 ls(ostream &out, int indent_level) const { 00057 00058 indent(out, indent_level) << get_type().get_name() 00059 << " (at 0x" << this << ")\n"; 00060 00061 _materials.ls(out, indent_level); 00062 _actors.ls(out, indent_level); 00063 _joints.ls(out, indent_level); 00064 _forcefields.ls(out, indent_level); 00065 _ffgroups.ls(out, indent_level); 00066 _controllers.ls(out, indent_level); 00067 _vehicles.ls(out, indent_level); 00068 _cloths.ls(out, indent_level); 00069 _softbodies.ls(out, indent_level); 00070 } 00071