Changeset 13041 for OpenSceneGraph/trunk/include/osgParticle/Placer
- Timestamp:
- 03/21/12 18:36:20 (14 months ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/include/osgParticle/Placer (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/include/osgParticle/Placer
r11755 r13041 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 1 /* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield 2 2 * 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 3 * This library is open source and may be redistributed and/or modified under 4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or 5 5 * (at your option) any later version. The full license is in LICENSE file 6 6 * included with this distribution, and on the openscenegraph.org website. 7 * 7 * 8 8 * This library is distributed in the hope that it will be useful, 9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 11 11 * OpenSceneGraph Public License for more details. 12 12 */ … … 40 40 /// Place a particle. Must be implemented in descendant classes. 41 41 virtual void place(Particle* P) const = 0; 42 42 43 43 /// Volume of the placer. Can be implemented in descendant classes. 44 44 virtual float volume() const { return 1.0f; } … … 51 51 Placer& operator=(const Placer& ) { return *this; } 52 52 }; 53 53 54 54 // INLINE FUNCTIONS 55 55 56 56 inline Placer::Placer() 57 57 : osg::Object() 58 58 { 59 59 } 60 60 61 61 inline Placer::Placer(const Placer& copy, const osg::CopyOp& copyop) 62 62 : osg::Object(copy, copyop)
