multiblend does something equivalent to the following:

float p;
int* i=&p;

p=data[x++];
if (*i<0) ...

so ints (always negative) and floats (always positive) can be mixed in
the same array.

I don't know if an inline cast - (int*)&p - would be easier on the
compiler.

David

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to