Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
bullet
bulletDebugNode.I
1
// Filename: bulletDebugNode.I
2
// Created by: enn0x (23Jan10)
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
// Function: BulletDebugNode::Destructor
17
// Access: Published
18
// Description:
19
////////////////////////////////////////////////////////////////////
20
INLINE BulletDebugNode::
21
~BulletDebugNode() {
22
23
}
24
25
////////////////////////////////////////////////////////////////////
26
// Function: BulletDebugNode::show_wireframe
27
// Access: Published
28
// Description:
29
////////////////////////////////////////////////////////////////////
30
INLINE
void
BulletDebugNode::
31
show_wireframe(
bool
show) {
32
33
_wireframe = show;
34
draw_mask_changed
();
35
}
36
37
////////////////////////////////////////////////////////////////////
38
// Function: BulletDebugNode::show_constraints
39
// Access: Published
40
// Description:
41
////////////////////////////////////////////////////////////////////
42
INLINE
void
BulletDebugNode::
43
show_constraints(
bool
show) {
44
45
_constraints = show;
46
draw_mask_changed
();
47
}
48
49
////////////////////////////////////////////////////////////////////
50
// Function: BulletDebugNode::show_bounding_boxes
51
// Access: Published
52
// Description:
53
////////////////////////////////////////////////////////////////////
54
INLINE
void
BulletDebugNode::
55
show_bounding_boxes(
bool
show) {
56
57
_bounds = show;
58
draw_mask_changed
();
59
}
60
61
////////////////////////////////////////////////////////////////////
62
// Function: BulletDebugNode::show_normals
63
// Access: Published
64
// Description:
65
////////////////////////////////////////////////////////////////////
66
INLINE
void
BulletDebugNode::
67
show_normals(
bool
show) {
68
69
_drawer._normals = show;
70
}
71
BulletDebugNode::draw_mask_changed
virtual void draw_mask_changed()
Called after the node's DrawMask has been changed for any reason, this just provides a hook so derive...
Definition:
bulletDebugNode.cxx:176
Generated on Mon Feb 1 2016 13:44:17 for Panda3D by
1.8.5