Panda3D
 All Classes Functions Variables Enumerations
physxSoftBody.I
1 // Filename: physxSoftBody.I
2 // Created by: enn0x (13Sep10)
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: PhysxSoftBody::Constructor
19 // Access: Published
20 // Description:
21 ////////////////////////////////////////////////////////////////////
22 INLINE PhysxSoftBody::
23 PhysxSoftBody() : PhysxObject() {
24 
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: PhysxSoftBody::Destructor
29 // Access: Published
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE PhysxSoftBody::
33 ~PhysxSoftBody() {
34 
35 }
36 
37 ////////////////////////////////////////////////////////////////////
38 // Function: PhysxSoftBody::ls
39 // Access: Published
40 // Description:
41 ////////////////////////////////////////////////////////////////////
42 INLINE void PhysxSoftBody::
43 ls() const {
44 
45  ls(nout);
46 }
47 
48 ////////////////////////////////////////////////////////////////////
49 // Function: PhysxSoftBody::ls
50 // Access: Published
51 // Description:
52 ////////////////////////////////////////////////////////////////////
53 INLINE void PhysxSoftBody::
54 ls(ostream &out, int indent_level) const {
55 
56  indent(out, indent_level) << get_type().get_name()
57  << " " << _name
58  << " (at 0x" << this << ")";
59 
60  if (_node) {
61  out << " N:0x" << _node;
62  }
63 
64  out << "\n";
65 }
66 
string get_name(TypedObject *object=(TypedObject *) NULL) const
Returns the name of the type.
Definition: typeHandle.I:132