I need to perform some raw OpenGL operations. So I took the teapot example and used that. So far so good. Problem is that the drawImplementation function is const. Since it's const, I can't get a non-const reference to a my vector container that is a member of this class. Like so:
LabelPoint &point = _labels[0]; //fails const LabelPoint &point = _labels[0]; //OK What's the "correct" way to approach this problem? Another callback? I need to modify members of this container @ runtime in the draw routine.
_______________________________________________ osg-users mailing list osg-users@openscenegraph.net http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/