Panda3D
lineEmitter.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 lineEmitter.I
10  * @author charles
11  * @date 2000-06-26
12  */
13 
14 /**
15  * endpoint assignment
16  */
17 INLINE void LineEmitter::
18 set_endpoint1(const LPoint3& point) {
19  _endpoint1 = point;
20 }
21 
22 /**
23  * endpoint assignment
24  */
25 INLINE void LineEmitter::
26 set_endpoint2(const LPoint3& point) {
27  _endpoint2 = point;
28 }
29 
30 /**
31  * endpoint accessor
32  */
33 INLINE LPoint3 LineEmitter::
34 get_endpoint1() const {
35  return _endpoint1;
36 }
37 
38 /**
39  * endpoint accessor
40  */
41 INLINE LPoint3 LineEmitter::
42 get_endpoint2() const {
43  return _endpoint2;
44 }
LPoint3 get_endpoint1() const
endpoint accessor
Definition: lineEmitter.I:34
LPoint3 get_endpoint2() const
endpoint accessor
Definition: lineEmitter.I:42
void set_endpoint2(const LPoint3 &point)
endpoint assignment
Definition: lineEmitter.I:26
void set_endpoint1(const LPoint3 &point)
endpoint assignment
Definition: lineEmitter.I:18