2012/6/12 Nozomi Kodama <[email protected]>: > > + 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 <[email protected]>: > > + if ( (pq->w >= 1.0f) || (pq->w == -1.0f) )
I think the second comparison should be '<=', if you want to avoid getting NaNs.