Panda3D
rectangleEmitter.I
1 // Filename: rectangleEmitter.I
2 // Created by: charles (26Jun00)
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 : set_min_bound
17 // Access : public
18 // Description : boundary set
19 ////////////////////////////////////////////////////////////////////
20 INLINE void RectangleEmitter::
21 set_min_bound(const LPoint2& vmin) {
22  _vmin = vmin;
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function : set_max_bound
27 // Access : public
28 // Description : boundary set
29 ////////////////////////////////////////////////////////////////////
30 INLINE void RectangleEmitter::
31 set_max_bound(const LPoint2& vmax) {
32  _vmax = vmax;
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function : get_min_bound
37 // Access : public
38 // Description : boundary get
39 ////////////////////////////////////////////////////////////////////
41 get_min_bound() const {
42  return _vmin;
43 }
44 
45 ////////////////////////////////////////////////////////////////////
46 // Function : get_max_bound
47 // Access : public
48 // Description : boundary get
49 ////////////////////////////////////////////////////////////////////
51 get_max_bound() const {
52  return _vmax;
53 }
LPoint2 get_min_bound() const
boundary get
void set_min_bound(const LPoint2 &vmin)
boundary set
LPoint2 get_max_bound() const
boundary get
This is a two-component point in space.
Definition: lpoint2.h:92
void set_max_bound(const LPoint2 &vmax)
boundary set