Hi,

I just need to move a light, and for that I try to use a callback.
So I implement a simple class lightMoveCallback : public
osg::StateAttribute::Callback

with virtual void operator()(osg::StateAttribute* ss, osg::NodeVisitor* nv);

but the callback is never called...

I use :
light->setUpdateCallback(new lightMoveCallback())

thanks for help,

Regards,
Vincent.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to