# [osg-users] Get Coordinates from osg::Vec3f

Gordon Tomlinson gordon at gordon-tomlinson.com
Mon Sep 3 13:45:56 PDT 2007

I did not say your question was stupid, to me it reeks of the laziness
that's it all to sadly seen too much these days in the open source community

is in the header files of osg::Vec classes
OpenSceneGraph\include\osg\vec3f and if you actually look in the header your
will see there are 2 methods to getting the vectors values

for an answer and expected some else to do that for you, then I'll gladly
get the f*** out of your way and so will most of the contributors on this
list

Have a nice day now

__________________________________________________________
Gordon Tomlinson

Email   : gordon at GordonTomlinson.com
Website : www.vis-sim.com www.gordontomlinson.com

__________________________________________________________

"Self defence is not a function of learning tricks
but is a function of how quickly and intensely one
can arouse one's instinct for survival"
-Master Tambo Tetsura

-----Original Message-----
From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Ulrich
Hertlein
Sent: 03 September 2007 21:33
To: osg-users at lists.openscenegraph.org
Subject: Re: [osg-users] Get Coordinates from osg::Vec3f

Renan Mendes wrote:
> Oh, wow! Good heavens, you really are incredibly pathetic! Having
> knowledge doesn't give you the right of being either arrogant OR
> sarcastic. And what about that crap of wasting everyone's bandwidth...

unnecessary clutter...

> an answer, not an argument. In other words, get the f*** out of my way...
> ...
> P.S.: Talking about etiquette: if you haven't notice it, I haven't
> emailed my last message to the whole mailing-list, so that you
> wouldn't

In case you haven't noticed, but you *DID* post to the entire ML and the
style your message wasn't really appropriate for that audience (or a single
one at that).

But I won't speak for the entire OSG ML. Maybe Gordon's mail was a bit too
RTFM-ish but these sort of questions tend to provoke that sort of replies.

You can access Vec3f coordinate components by either
osg::Vec3 v;
v._v[0]; // 0==x, 1==y, 2==z; or
v.x(); // similar y(), z()

Cheers,
/Ulrich

_______________________________________________
osg-users mailing list
osg-users at lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org