README: mention SDL2 backend
[rofl0r-concol.git] / point.h
blobdac2bdfbf241469a4d114e492486c641a370acc0
1 #ifndef POINT_H
2 #define POINT_H
4 typedef struct {
5 int x;
6 int y;
7 } point;
9 #define point_equal(A, B) ((A).x == (B).x && (A).y == (B).y)
10 #define make_point(A, B) ((point) {(A), (B)})
12 #endif