[osg-users] Why not const pointers in array setters

Bruno Oliveira bruno.manata.oliveira at gmail.com
Mon May 29 05:42:22 PDT 2017


Hello,


in array setters, for instance in osg::Geometry::setVertexArray, why is the
array argument non-const?

How bad is it that I const_cast an array of my into a Geometry?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170529/4a396375/attachment-0002.htm>


More information about the osg-users mailing list