From 17f70d4345e13af21e673806982446e50aee62ef Mon Sep 17 00:00:00 2001 From: lecoanet Date: Fri, 13 Feb 2004 15:57:29 +0000 Subject: Undo the change that made ZnPoints and ZnRects out of floats. It doesn't work with the Tess and GL. --- generic/Geo.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'generic/Geo.h') 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; /* -- cgit v1.1