[osg-users] Moving osgHud
u.hertlein at sandbox.de
Mon Mar 30 23:38:29 PDT 2009
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).x();
> And to modify them (*vertices)._v = x;
To modify vertices you can also write "(*vertices).x() = x;" as well.
(Yes I also feel this looks wrong...)
More information about the osg-users