Panda3D
 All Classes Functions Variables Enumerations
showBoundsEffect.I
1 // Filename: showBoundsEffect.I
2 // Created by: drose (25Mar02)
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 // Function: ShowBoundsEffect::Constructor
18 // Access: Private
19 // Description: Use ShowBoundsEffect::make() to construct a new
20 // ShowBoundsEffect object.
21 ////////////////////////////////////////////////////////////////////
22 INLINE ShowBoundsEffect::
23 ShowBoundsEffect() :
24  _tight(false)
25 {
26 }
27 
28 ////////////////////////////////////////////////////////////////////
29 // Function: ShowBoundsEffect::get_tight
30 // Access: Published
31 // Description: Returns true if the "tight" flag was set, meaning the
32 // effect should compute and draw the tight bounding-box
33 // of the node's vertices every frame.
34 ////////////////////////////////////////////////////////////////////
35 INLINE bool ShowBoundsEffect::
36 get_tight() const {
37  return _tight;
38 }
bool get_tight() const
Returns true if the "tight" flag was set, meaning the effect should compute and draw the tight boun...