diff options
author | lecoanet | 2004-02-13 15:57:29 +0000 |
---|---|---|
committer | lecoanet | 2004-02-13 15:57:29 +0000 |
commit | 17f70d4345e13af21e673806982446e50aee62ef (patch) | |
tree | d972729bb084f766f796aad6d265c6142c568416 | |
parent | 9de0cde32b10f95f53fd487f50ad83eb938131b3 (diff) | |
download | tkzinc-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.
-rw-r--r-- | generic/Geo.h | 10 |
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; /* |