open_toontown_panda3d/panda/src/particlesystem/boxEmitter.I

54 lines
1.7 KiB
Plaintext

// Filename: boxEmitter.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."
//
////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////
// Function : set_min_bound
// Access : Public
// Description : boundary assignment
////////////////////////////////////////////////////////////////////
INLINE void BoxEmitter::
set_min_bound(const LPoint3f& vmin) {
_vmin = vmin;
}
////////////////////////////////////////////////////////////////////
// Function : set_max_bound
// Access : Public
// Description : boundary assignment
////////////////////////////////////////////////////////////////////
INLINE void BoxEmitter::
set_max_bound(const LPoint3f& vmax) {
_vmax = vmax;
}
////////////////////////////////////////////////////////////////////
// Function : get_min_bound
// Access : Public
// Description : boundary accessor
////////////////////////////////////////////////////////////////////
INLINE LPoint3f BoxEmitter::
get_min_bound() const {
return _vmin;
}
////////////////////////////////////////////////////////////////////
// Function : get_max_bound
// Access : Public
// Description : boundary accessor
////////////////////////////////////////////////////////////////////
INLINE LPoint3f BoxEmitter::
get_max_bound() const {
return _vmax;
}