2012/6/12 Nozomi Kodama <nozomi.kod...@yahoo.com>: > > + if ( (pq->w >= 1.0f) || (pq->w == -1.0f) )
I think the second comparison should be '<=', if you want to avoid getting NaNs.
2012/6/12 Nozomi Kodama <nozomi.kod...@yahoo.com>: > > + if ( (pq->w >= 1.0f) || (pq->w == -1.0f) )
I think the second comparison should be '<=', if you want to avoid getting NaNs.