open_toontown_panda3d/panda/src/particlesystem/sphereVolumeEmitter.I

38 lines
1.1 KiB
Plaintext

// Filename: sphereVolumeEmitter.I
// Created by: charles (26Jun00)
//
////////////////////////////////////////////////////////////////////
//
// PANDA 3D SOFTWARE
// Copyright (c) Carnegie Mellon University. All rights reserved.
//
// All use of this software is subject to the terms of the revised BSD
// license. You should have received a copy of this license along
// with this source code in a file named "LICENSE."
//
////////////////////////////////////////////////////////////////////
#include "config_particlesystem.h"
////////////////////////////////////////////////////////////////////
// Function : set_radius
// Access : public
// Description : radius set
////////////////////////////////////////////////////////////////////
INLINE void SphereVolumeEmitter::
set_radius(PN_stdfloat r) {
_radius = r;
}
////////////////////////////////////////////////////////////////////
// Function : get_radius
// Access : public
// Description : radius get
////////////////////////////////////////////////////////////////////
INLINE PN_stdfloat SphereVolumeEmitter::
get_radius() const {
return _radius;
}