mirror of
https://github.com/ada-dmitry/TMP_C712.git
synced 2026-09-24 09:10:16 +00:00
upgrade
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user