2020-06-13 02:28:43 +08:00
|
|
|
#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);
|
2020-06-13 02:28:43 +08:00
|
|
|
|
|
|
|
#endif
|
2020-06-24 11:05:49 +08:00
|
|
|
|