[osg-users] Declaring and using Vec3d and other.
do_that3 at luukku.com
Sat Nov 7 01:36:08 PST 2009
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?
Read this topic online here:
More information about the osg-users