From fd0160d5a1592d1548232d27ff1dbe69be4b3129 Mon Sep 17 00:00:00 2001 From: curt Date: Sat, 2 May 1998 01:48:38 +0000 Subject: [PATCH] typedef-ified fgCartesianPoint3d --- Makefile.in | 1 + fg_types.h | 23 ++++++++++++++++------- 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/Makefile.in b/Makefile.in index 1036cbd97..e7622e9ce 100644 --- a/Makefile.in +++ b/Makefile.in @@ -78,6 +78,7 @@ EXTRA_DIST = \ fg_limits.h \ fg_typedefs.h \ fg_types.h \ + fg_zlib.h \ general.h \ keys.h mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs diff --git a/fg_types.h b/fg_types.h index 870da39ff..f57746a13 100644 --- a/fg_types.h +++ b/fg_types.h @@ -28,25 +28,34 @@ #define _FG_TYPES_H -/* A simple cartesian point */ -struct fgCartesianPoint { +/* A simple 3d cartesian point */ +typedef struct { double x, y, z; -}; +} fgCartesianPoint3d; + + +/* A simple 3d polar point */ +typedef struct { + double lon, lat, radius; +} fgPolarPoint3d; /* A simple geodetic point */ -struct fgGeodeticPoint { +typedef struct { double lon, lat, elev; -}; +} fgGeodeticPoint3d; #endif /* _FG_TYPES_H */ /* $Log$ -/* Revision 1.2 1998/04/08 23:35:33 curt -/* Tweaks to Gnu automake/autoconf system. +/* Revision 1.3 1998/05/02 01:48:39 curt +/* typedef-ified fgCartesianPoint3d /* + * Revision 1.2 1998/04/08 23:35:33 curt + * Tweaks to Gnu automake/autoconf system. + * * Revision 1.1 1998/01/27 00:46:51 curt * prepended "fg_" on the front of these to avoid potential conflicts with * system include files.