| Discussion Home | About | Threads By Date | Search |
Title
&& evaluates incorrect?
Content
can somebody tell me, why
dst = sampleNearest(src,outCoord());
if (dst.r == 1.0)
if (dst.b == 1.0)
if (dst.g == 1.0) { ... }
does what it should, i.e. find white, but
dst = sampleNearest(src,outCoord());
if ((dst.r == 1.0) && (dst.b == 1.0) && (dst.g == 1.0)) { ... }
doesn't?
thanks for your thoughts
Thomas