aboutsummaryrefslogtreecommitdiff
path: root/generic
diff options
context:
space:
mode:
Diffstat (limited to 'generic')
-rw-r--r--generic/Geo.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/generic/Geo.h b/generic/Geo.h
index c0ad55a..1e3ac90 100644
--- a/generic/Geo.h
+++ b/generic/Geo.h
@@ -62,12 +62,18 @@
#define ZN_CIRCLE_FINEST ZN_CIRCLE_FINER+1
+/*
+ * I would like to make these be floats,
+ * but have to investigate how. Structures
+ * handed to GL or GLU tess _must_ have
+ * points has doubles.
+ */
typedef struct {
- float x, y;
+ double x, y;
} ZnPoint;
typedef struct {
- float x, y, w, h;
+ double x, y, w, h;
} ZnRect;
/*