Any comparison to NaN is always false, http://stackoverflow.com/q/1565164 ..so I would guess there is an isnan() function?
If not, a check like "if(val != val)" should only be true for a NaN value On 14/11/13 10:55, Gavin Greenwalt wrote: > Is there a blinkscript constant for NaN values. I tried using 'nullptr' > but it gave me a type mismatch error. Specifically I'm looking to ignore > pixels which have NAN values in the processing. > > Thanks! > Gavin > > > _______________________________________________ > Nuke-dev mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > -- ben dickson 2D TD | [email protected] rising sun pictures | www.rsp.com.au _______________________________________________ Nuke-dev mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev
