aboutsummaryrefslogtreecommitdiff
path: root/include/vec2.h
blob: 8fd3858339dc41b58a14490d7a24d82d0e2cfd58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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 */