mirror of
https://github.com/ada-dmitry/TMP_C712.git
synced 2026-09-24 01:00:19 +00:00
12 lines
168 B
C
12 lines
168 B
C
#include <stdio.h>
|
|
|
|
void mirror(int *px, int *py)
|
|
{
|
|
*px = *px * (-1);
|
|
}
|
|
|
|
void mirror_seg(int *px1, int *py1, int *px2, int *py2)
|
|
{
|
|
*py1 *= -1;
|
|
*py2 *= -1;
|
|
} |