More precisely the values passed on to
Mesh_Hash_UV
are FP_POS_DNORM which probably points to some uninitialized variable problem.
Unfortunately I cannot track that down.
So instead of rounding to the nearest integer, I check the fp_class and when it is
DNORM then I arbitrarily set it to 0.0;
if ( fp_class(P[U]) < 8 ) P[U] = 0.0; if ( fp_class(P[V]) < 8 ) P[V] = 0.0;
This works perfectly so far.
Any other ideas ?
Lothar
Post a reply to this message
|