Last active
September 29, 2015 15:56
-
-
Save automata/10b5d47a4db6a19f3554 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| vilson@macbook:~/repos/imgflo/dependencies/gegl$ diff ~/src/automata/gegl/operations/transform/transform-core.c operations/transform/transform-core.c | |
| 31c31 | |
| < | |
| --- | |
| > #include <stdio.h> | |
| 334,335c334,335 | |
| < output->x = (gint) floor ((double) min_x); | |
| < output->y = (gint) floor ((double) min_y); | |
| --- | |
| > output->x = (gint) ceil ((double) min_x); | |
| > output->y = (gint) ceil ((double) min_y); | |
| 345,348c345,348 | |
| < /* output->width = (gint) floor ((double) max_x) + ((gint) 1 - output->x); */ | |
| < /* output->height = (gint) floor ((double) max_y) + ((gint) 1 - output->y); */ | |
| < output->width = (gint) ceil ((double) max_x) - output->x; | |
| < output->height = (gint) ceil ((double) max_y) - output->y; | |
| --- | |
| > output->width = (gint) floor ((double) max_x) + ((gint) - output->x); | |
| > output->height = (gint) floor ((double) max_y) + ((gint) - output->y); | |
| > //output->width = (gint) ceil ((double) max_x) - output->x; | |
| > //output->height = (gint) ceil ((double) max_y) - output->y; | |
| 880c880 | |
| < const gint flip_x = | |
| --- | |
| > const gint flip_x = | |
| 886c886 | |
| < const gint flip_y = | |
| --- | |
| > const gint flip_y = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment