|
|
|
@ -59,7 +59,7 @@ for (y=0; y<psrc->height; y++) {
@@ -59,7 +59,7 @@ for (y=0; y<psrc->height; y++) {
|
|
|
|
|
fimg_get_rgb(psrc, x, y, rgb); |
|
|
|
|
|
|
|
|
|
dispx = (float)x + (rgb[1]/dltg * 20.0); |
|
|
|
|
dispy = (float)y + (rgb[2]/dltb * 10.0); |
|
|
|
|
dispy = (float)y + (rgb[2]/dltb * 20.0); |
|
|
|
|
dstx = (int)roundf(dispx - 10.0); |
|
|
|
|
dsty = (int)roundf(dispy - 10.0); |
|
|
|
|
|
|
|
|
|