1
0
Fork 0

typedef-ified fgCartesianPoint3d

This commit is contained in:
curt 1998-05-02 01:48:38 +00:00
parent 5262fdde02
commit fd0160d5a1
2 changed files with 17 additions and 7 deletions

View 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

View file

@ -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.