]> git.mxchange.org Git - flightgear.git/commitdiff
typedef-ified fgCartesianPoint3d
authorcurt <curt>
Sat, 2 May 1998 01:48:38 +0000 (01:48 +0000)
committercurt <curt>
Sat, 2 May 1998 01:48:38 +0000 (01:48 +0000)
Makefile.in
fg_types.h

index 1036cbd97a69666b5e091ebfb7a29725585bbcb6..e7622e9ce2e596ff39980b7a74285ddc1149deb8 100644 (file)
@@ -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
index 870da39ffa578321dd2d7227a78b346da1c13c33..f57746a1384c6c7df0c57aacf8d5d61bac1cb64a 100644 (file)
 #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.