whyyyyyyy?

2006-08-14 16:31:20
whyyyyyyy?
Why would someone write this??? Not one, but two superfluous loops and local variables each make this confusing enough without the sneaky reuse of a parameter variable. my version: static void GetPixel2(const unsigned char* pImg, int x, float* p){ int base = 4*x; // four channels per pixel if(base
373 views · 0 faves · All Rights Reserved
Original Flickr page