Panda3D
Main Page
Classes
Files
File List
All
Classes
Functions
Variables
Enumerations
panda
src
particlesystem
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
////////////////////////////////////////////////////////////////////
40
INLINE
LPoint2
RectangleEmitter::
41
get_min_bound
()
const
{
42
return
_vmin;
43
}
44
45
////////////////////////////////////////////////////////////////////
46
// Function : get_max_bound
47
// Access : public
48
// Description : boundary get
49
////////////////////////////////////////////////////////////////////
50
INLINE
LPoint2
RectangleEmitter::
51
get_max_bound
()
const
{
52
return
_vmax;
53
}
RectangleEmitter::set_min_bound
void set_min_bound(const LPoint2 &vmin)
boundary set
Definition:
rectangleEmitter.I:21
RectangleEmitter::get_min_bound
LPoint2 get_min_bound() const
boundary get
Definition:
rectangleEmitter.I:41
RectangleEmitter::get_max_bound
LPoint2 get_max_bound() const
boundary get
Definition:
rectangleEmitter.I:51
LPoint2f
This is a two-component point in space.
Definition:
lpoint2.h:92
RectangleEmitter::set_max_bound
void set_max_bound(const LPoint2 &vmax)
boundary set
Definition:
rectangleEmitter.I:31
Generated on Mon Feb 1 2016 13:44:31 for Panda3D by
1.8.5