ncurses-gameoflife/vect.c

16 lines
182 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;
}
2020-06-24 11:05:49 +08:00