Panda3D
boxEmitter.I
1 // Filename: boxEmitter.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 assignment
19 ////////////////////////////////////////////////////////////////////
20 INLINE void BoxEmitter::
21 set_min_bound(const LPoint3& vmin) {
22  _vmin = vmin;
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function : set_max_bound
27 // Access : Public
28 // Description : boundary assignment
29 ////////////////////////////////////////////////////////////////////
30 INLINE void BoxEmitter::
31 set_max_bound(const LPoint3& vmax) {
32  _vmax = vmax;
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function : get_min_bound
37 // Access : Public
38 // Description : boundary accessor
39 ////////////////////////////////////////////////////////////////////
40 INLINE LPoint3 BoxEmitter::
41 get_min_bound() const {
42  return _vmin;
43 }
44 
45 ////////////////////////////////////////////////////////////////////
46 // Function : get_max_bound
47 // Access : Public
48 // Description : boundary accessor
49 ////////////////////////////////////////////////////////////////////
50 INLINE LPoint3 BoxEmitter::
51 get_max_bound() const {
52  return _vmax;
53 }
LPoint3 get_min_bound() const
boundary accessor
Definition: boxEmitter.I:41
LPoint3 get_max_bound() const
boundary accessor
Definition: boxEmitter.I:51
void set_max_bound(const LPoint3 &vmax)
boundary assignment
Definition: boxEmitter.I:31
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition: lpoint3.h:99
void set_min_bound(const LPoint3 &vmin)
boundary assignment
Definition: boxEmitter.I:21