ncurses-gameoflife/vect.c
2020-06-12 02:46:44 +01:00

15 lines
181 B
C

#include "vect.h"
void moveVect2i(Vect2i* vect, int x, int y)
{
vect->x += x;
vect->y += y;
}
void moveVect2f(Vect2f* vect, float x, float y)
{
vect->x += x;
vect->y += y;
}