aboutsummaryrefslogtreecommitdiff
path: root/generic/Geo.h
diff options
context:
space:
mode:
authorlecoanet2004-02-13 15:57:29 +0000
committerlecoanet2004-02-13 15:57:29 +0000
commit17f70d4345e13af21e673806982446e50aee62ef (patch)
treed972729bb084f766f796aad6d265c6142c568416 /generic/Geo.h
parent9de0cde32b10f95f53fd487f50ad83eb938131b3 (diff)
downloadtkzinc-17f70d4345e13af21e673806982446e50aee62ef.zip
tkzinc-17f70d4345e13af21e673806982446e50aee62ef.tar.gz
tkzinc-17f70d4345e13af21e673806982446e50aee62ef.tar.bz2
tkzinc-17f70d4345e13af21e673806982446e50aee62ef.tar.xz
Undo the change that made ZnPoints and ZnRects out of floats. It doesn't work with the Tess and GL.
Diffstat (limited to 'generic/Geo.h')
-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;
/*