Panda3D
Loading...
Searching...
No Matches
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 */
17INLINE void LineEmitter::
18set_endpoint1(const LPoint3& point) {
19 _endpoint1 = point;
20}
21
22/**
23 * endpoint assignment
24 */
25INLINE void LineEmitter::
26set_endpoint2(const LPoint3& point) {
27 _endpoint2 = point;
28}
29
30/**
31 * endpoint accessor
32 */
33INLINE LPoint3 LineEmitter::
34get_endpoint1() const {
35 return _endpoint1;
36}
37
38/**
39 * endpoint accessor
40 */
41INLINE LPoint3 LineEmitter::
42get_endpoint2() const {
43 return _endpoint2;
44}
void set_endpoint2(const LPoint3 &point)
endpoint assignment
Definition lineEmitter.I:26
void set_endpoint1(const LPoint3 &point)
endpoint assignment
Definition lineEmitter.I:18
LPoint3 get_endpoint1() const
endpoint accessor
Definition lineEmitter.I:34
LPoint3 get_endpoint2() const
endpoint accessor
Definition lineEmitter.I:42