Panda3D
physxSoftBody.I
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file physxSoftBody.I
10  * @author enn0x
11  * @date 2010-09-13
12  */
13 
14 /**
15  *
16  */
17 INLINE PhysxSoftBody::
18 PhysxSoftBody() : PhysxObject() {
19 
20 }
21 
22 /**
23  *
24  */
25 INLINE PhysxSoftBody::
26 ~PhysxSoftBody() {
27 
28 }
29 
30 /**
31  *
32  */
33 INLINE void PhysxSoftBody::
34 ls() const {
35 
36  ls(nout);
37 }
38 
39 /**
40  *
41  */
42 INLINE void PhysxSoftBody::
43 ls(std::ostream &out, int indent_level) const {
44 
45  indent(out, indent_level) << get_type().get_name()
46  << " " << _name
47  << " (at 0x" << this << ")";
48 
49  if (_node) {
50  out << " N:0x" << _node;
51  }
52 
53  out << "\n";
54 }
get_name
Returns the name of the type.
Definition: typeHandle.h:136
std::ostream & indent(std::ostream &out, int indent_level)
A handy function for doing text formatting.
Definition: indent.cxx:20