[osg-users] Moving osgHud

Ulrich Hertlein u.hertlein at sandbox.de
Mon Mar 30 23:38:29 PDT 2009

Hi Martin,

On 31/3/09 9:20 AM, Martin Beckett wrote:
> thanks - it seemed a little crude to just change the vertex data directly.

Not really crude at all.  What kind of functionality were you looking for?

> To get the value:  float x = (*vertices)[0].x();
 > And to modify them (*vertices)[0]._v[0] = x;

To modify vertices you can also write "(*vertices)[0].x() = x;" as well.
(Yes I also feel this looks wrong...)


More information about the osg-users mailing list