summaryrefslogtreecommitdiffstats
path: root/ganv
diff options
context:
space:
mode:
Diffstat (limited to 'ganv')
-rw-r--r--ganv/types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/ganv/types.h b/ganv/types.h
index 10b6a90..677cb06 100644
--- a/ganv/types.h
+++ b/ganv/types.h
@@ -23,5 +23,12 @@ typedef struct _GanvNode GanvNode;
typedef struct _GanvPort GanvPort;
typedef struct _GanvBox GanvBox;
+#ifdef GANV_FDGL
+typedef struct {
+ double x;
+ double y;
+} Vector;
+#endif // GANV_FDGL
+
#endif /* GANV_TYPES_H */