Panda3D
panda
src
particlesystem
sphereSurfaceEmitter.I
1
// Filename: sphereSurfaceEmitter.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
#include "config_particlesystem.h"
16
17
////////////////////////////////////////////////////////////////////
18
// Function : set_radius
19
// Access : public
20
// Description : radius set
21
////////////////////////////////////////////////////////////////////
22
23
INLINE
void
SphereSurfaceEmitter::
24
set_radius
(PN_stdfloat r) {
25
_radius = r;
26
}
27
28
////////////////////////////////////////////////////////////////////
29
// Function : get_radius
30
// Access : public
31
// Description : radius get
32
////////////////////////////////////////////////////////////////////
33
34
INLINE PN_stdfloat
SphereSurfaceEmitter::
35
get_radius
()
const
{
36
return
_radius;
37
}
SphereSurfaceEmitter::get_radius
PN_stdfloat get_radius() const
radius get
Definition:
sphereSurfaceEmitter.I:35
SphereSurfaceEmitter::set_radius
void set_radius(PN_stdfloat r)
radius set
Definition:
sphereSurfaceEmitter.I:24
Generated on Wed May 17 2017 23:44:19 for Panda3D by
1.8.13