X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=graphiq%2Flibrary%2Fgeometric%2Fwarper.h;h=7110bf06e2a80550969b73ae0eb1eaf2518e59fe;hb=cf5ca14de074aaa046e8ac8b56f15513e97494d0;hp=dd173bbb2a0af10bfbde415dc8989f6a9887cd33;hpb=2952ccf47b80174880141a7ecfa122089f349b8d;p=feisty_meow.git diff --git a/graphiq/library/geometric/warper.h b/graphiq/library/geometric/warper.h index dd173bbb..7110bf06 100644 --- a/graphiq/library/geometric/warper.h +++ b/graphiq/library/geometric/warper.h @@ -208,8 +208,8 @@ rectangle rectangle_warper::flip_accordingly vertical_component vert2; separate_vertical(targo, vert2); bool flip_y = bool(vert1 != vert2); - if (flip_x) swap_values(x1, x2); - if (flip_y) swap_values(y1, y2); + if (flip_x) basis::swap_values(x1, x2); + if (flip_y) basis::swap_values(y1, y2); //LOG(basis::astring("it becomes ") + rectangle(x1, y1, x2, y2).text_form()); return rectangle(x1, y1, x2, y2); }