Panda3D
bulletDebugNode.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 bulletDebugNode.I
10  * @author enn0x
11  * @date 2010-01-23
12  */
13 
14 /**
15  *
16  */
17 INLINE BulletDebugNode::
18 ~BulletDebugNode() {
19 
20 }
21 
22 /**
23  *
24  */
25 INLINE void BulletDebugNode::
26 show_wireframe(bool show) {
27 
28  _wireframe = show;
30 }
31 
32 /**
33  *
34  */
35 INLINE bool BulletDebugNode::
36 get_show_wireframe() const {
37 
38  return _wireframe;
39 }
40 
41 /**
42  *
43  */
44 INLINE void BulletDebugNode::
45 show_constraints(bool show) {
46 
47  _constraints = show;
49 }
50 
51 /**
52  *
53  */
54 INLINE bool BulletDebugNode::
55 get_show_constraints() const {
56 
57  return _constraints;
58 }
59 
60 /**
61  *
62  */
63 INLINE void BulletDebugNode::
64 show_bounding_boxes(bool show) {
65 
66  _bounds = show;
68 }
69 
70 /**
71  *
72  */
73 INLINE bool BulletDebugNode::
74 get_show_bounding_boxes() const {
75 
76  return _bounds;
77 }
78 
79 /**
80  *
81  */
82 INLINE void BulletDebugNode::
83 show_normals(bool show) {
84 
85  _drawer._normals = show;
86 }
87 
88 /**
89  *
90  */
91 INLINE bool BulletDebugNode::
92 get_show_normals() const {
93 
94  return _drawer._normals;
95 }
virtual void draw_mask_changed()
Called after the node's DrawMask has been changed for any reason, this just provides a hook so derive...