Converted the instances of const built in types being returned from methods

and passed as paramters into straight forward non const built in types,
i.e. const bool foogbar(const int) becomes bool foobar(int).
This commit is contained in:
Robert Osfield
2002-09-02 12:31:35 +00:00
parent 52518673d1
commit 12226e4371
123 changed files with 850 additions and 841 deletions

View File

@@ -148,7 +148,7 @@ namespace osgParticle
ParticleSystem &operator=(const ParticleSystem &) { return *this; }
inline virtual const bool computeBound() const;
inline virtual bool computeBound() const;
virtual void drawImmediateMode(osg::State &state);
inline void update_bounds(const osg::Vec3 &p, float r);
void single_pass_render(osg::State &state, const osg::Matrix &modelview);
@@ -282,7 +282,7 @@ namespace osgParticle
return last_frame_;
}
inline const bool ParticleSystem::computeBound() const
inline bool ParticleSystem::computeBound() const
{
if (!bounds_computed_) {
_bbox = def_bbox_;