The problem is I don't get your output (which is correct), look at this:

$ ./a.out
Problem with some types...(osg::Vec3)
        (t1) Vec3 created with osgIntrospection is 1
        (t2) Vec3 created with typeid is 0
        (t3) Vec3 created with from value is 0
Compare the typeinfos...
t1 == typeid(osg::Vec3) -> 0 -> N3osg5Vec3fE == N3osg5Vec3fE
t2 == typeid(osg::Vec3) -> 1 -> N3osg5Vec3fE == N3osg5Vec3fE
t3 == typeid(osg::Vec3) -> 1 -> N3osg5Vec3fE == N3osg5Vec3fE

Problem with some types...(float)
        (t1) Vec3 created with osgIntrospection is 1
        (t2) Vec3 created with typeid is 1
        (t3) Vec3 created with from value is 1
Compare the typeinfos...
t1 == typeid(float) -> 1 -> f == f
t2 == typeid(float) -> 1 -> f == f
t3 == typeid(float) -> 1 -> f == f

Look at those 0's... I will try with the last CVS version and try again.

Jose L.

On 9/4/06, david callu <[EMAIL PROTECTED]> wrote:

Hi Jose,

    I don't understand what is the probleme in the test 1

  please, look the output for this test and comment it:

Problem with some types...(osg::Vec3)
         (t1) Vec3 created with osgIntrospection is 1
         (t2) Vec3 created with typeid is 1
         (t3) Vec3 created with from value is 1
Compare the typeinfos...
t1 == typeid(osg::Vec3) -> 1 -> N3osg5Vec3fE == N3osg5Vec3fE
t2 == typeid(osg::Vec3) -> 1 -> N3osg5Vec3fE == N3osg5Vec3fE
t3 == typeid(osg::Vec3) -> 1 -> N3osg5Vec3fE == N3osg5Vec3fE

Problem with some types...(float)
         (t1) Vec3 created with osgIntrospection is 1
         (t2) Vec3 created with typeid is 1
         (t3) Vec3 created with from value is 1
Compare the typeinfos...
t1 == typeid(float) -> 1 -> f == f
t2 == typeid(float) -> 1 -> f == f
t3 == typeid(float) -> 1 -> f == f

David

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/




--
 Jose L. Hidalgo ValiƱo (PpluX)
 ---- http://www.pplux.com ----
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to