Removed const from the evaluateLODChild(,,) callback method.

This commit is contained in:
Robert Osfield 2002-09-03 19:25:00 +00:00
parent 5c1787535c
commit 2842346b5a

View File

@ -83,7 +83,7 @@ class DrawableDrawCallback : public osg::Drawable::DrawCallback
struct LODCallback : public osg::LOD::EvaluateLODCallback
{
/** Compute the child to select.*/
virtual int evaluateLODChild(const osg::LOD* lod, const osg::Vec3& eye_local, const float bias) const
virtual int evaluateLODChild(const osg::LOD* lod, const osg::Vec3& eye_local, float bias) const
{
std::cout<<"evaluateLODChild callback - pre lod->evaluateLODChild"<<std::endl;
int result = lod->evaluateLODChild(eye_local,bias);