[osg-users] Declaring and using Vec3d and other.

Robert Osfield robert.osfield at gmail.com
Sat Nov 7 02:50:58 PST 2009


Hi Danny,

I'm not aware of any bugs related to copying Vec4d's - doing what you
quote has been done for many years without problems, I would recommend
that you double check your own code and your build to see if something
has gone amiss.

Robert.

On Sat, Nov 7, 2009 at 9:36 AM, Danny Riflko <do_that3 at luukku.com> wrote:
> Hi,
>
> If I use in the main:
> Vec4d C1 = Vec4d (1, 1,1, 1);
> Then the vector has garbage in it.
>
> But if I declare Vec4d C1 = Vec4d(); before main, then I can use the setter in the main to put some values in it, and it works.
>
> Why is that? How does that work?
>
>
> Thank you!
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=19311#19311
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


More information about the osg-users mailing list