17 lines
179 B
C
17 lines
179 B
C
#ifndef VEC2_H
|
|
#define VEC2_H
|
|
|
|
typedef struct {
|
|
int x, y;
|
|
} vec2i;
|
|
|
|
typedef struct {
|
|
float x, y;
|
|
} vec2f;
|
|
|
|
typedef struct {
|
|
double x, y;
|
|
} vec2d;
|
|
|
|
#endif /* VEC2_H */
|