X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=graphiq%2Flibrary%2Fgeometric%2Fwarper.h;fp=graphiq%2Flibrary%2Fgeometric%2Fwarper.h;h=7110bf06e2a80550969b73ae0eb1eaf2518e59fe;hb=936edc460f256ba5ddba2ad1c80e8d278b9608cc;hp=dd173bbb2a0af10bfbde415dc8989f6a9887cd33;hpb=fa14daffb0e9594769d46885433b3e0b9ea4e6c5;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); }