>
> No. My guess is that there is a bug in Projection::operator = ( Wall
> ). This code is fairly new and hasn't been tested much yet.
>
> I don't have time right now to look into it. Can you investigate this,
> or if you don't have the time either, open a bug?
>
It seems that the faulty piece of code is this:
lib/client/projection.cpp:72
if ( distance <= std::numeric_limits< float >::epsilon( ))
distance = center.length();
I don't understand why that comparison is there, overall because
distance is default initialized to 1, so it won't hold unless distance
is explicetly set.
Removing the if clause and doing the assigment unconditionally solved
the problem I was experiencing.
I haven't read Wall::operator= souce but it's funny that the following code:
eq::Wall w, w2;
eq::Projection p;
... initialize w ...
w2 = w
p = w;
w = p;
assert(w2 == w);
always works independently of the the change above.
Regards,
Juan
_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com