Panda3D
 All Classes Functions Variables Enumerations
physxShape.I
1 // Filename: physxShape.I
2 // Created by: enn0x (16Sep09)
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: PhysxShape::Constructor
19 // Access: Protected
20 // Description:
21 ////////////////////////////////////////////////////////////////////
22 INLINE PhysxShape::
23 PhysxShape() : PhysxObject() {
24 
25 }
26 
27 ////////////////////////////////////////////////////////////////////
28 // Function: PhysxShape::ls
29 // Access: Published
30 // Description:
31 ////////////////////////////////////////////////////////////////////
32 INLINE void PhysxShape::
33 ls() const {
34 
35  ls(nout);
36 }
37 
38 ////////////////////////////////////////////////////////////////////
39 // Function: PhysxShape::ls
40 // Access: Published
41 // Description:
42 ////////////////////////////////////////////////////////////////////
43 INLINE void PhysxShape::
44 ls(ostream &out, int indent_level) const {
45 
46  indent(out, indent_level) << get_type().get_name()
47  << " " << _name
48  << " (at 0x" << this << ")\n";
49 }
50 
string get_name(TypedObject *object=(TypedObject *) NULL) const
Returns the name of the type.
Definition: typeHandle.I:132