Panda3D
 All Classes Functions Variables Enumerations
lineEmitter.I
1 // Filename: lineEmitter.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_endpoint1
17 // Access : Public
18 // Description : endpoint assignment
19 ////////////////////////////////////////////////////////////////////
20 INLINE void LineEmitter::
21 set_endpoint1(const LPoint3& point) {
22  _endpoint1 = point;
23 }
24 
25 ////////////////////////////////////////////////////////////////////
26 // Function : set_endpoint2
27 // Access : Public
28 // Description : endpoint assignment
29 ////////////////////////////////////////////////////////////////////
30 INLINE void LineEmitter::
31 set_endpoint2(const LPoint3& point) {
32  _endpoint2 = point;
33 }
34 
35 ////////////////////////////////////////////////////////////////////
36 // Function : get_endpoint1
37 // Access : Public
38 // Description : endpoint accessor
39 ////////////////////////////////////////////////////////////////////
41 get_endpoint1() const {
42  return _endpoint1;
43 }
44 
45 ////////////////////////////////////////////////////////////////////
46 // Function : get_endpoint2
47 // Access : Public
48 // Description : endpoint accessor
49 ////////////////////////////////////////////////////////////////////
51 get_endpoint2() const {
52  return _endpoint2;
53 }
LPoint3 get_endpoint2() const
endpoint accessor
Definition: lineEmitter.I:51
This is a three-component point in space (as opposed to a three-component vector, which represents a ...
Definition: lpoint3.h:99
LPoint3 get_endpoint1() const
endpoint accessor
Definition: lineEmitter.I:41
void set_endpoint2(const LPoint3 &point)
endpoint assignment
Definition: lineEmitter.I:31
void set_endpoint1(const LPoint3 &point)
endpoint assignment
Definition: lineEmitter.I:21