ncurses-gameoflife/vect.c

15 lines
181 B
C
Raw Normal View History

2020-06-12 09:46:44 +08:00
#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;
}