ncurses-gameoflife/vect.h

18 lines
227 B
C
Raw Normal View History

#ifndef VECT_H
#define VECT_H
2020-06-12 09:46:44 +08:00
typedef struct Vect2i{
int x, y;
} Vect2i;
typedef struct Vect2f{
float x, y;
} Vect2f;
void moveVect2i(Vect2i* vect, int x, int y);
void moveVect2f(Vect2f* vect, float x, float y);
#endif
2020-06-24 11:05:49 +08:00