aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKurt Schwehr <schwehr@google.com>2018-04-22 08:17:56 -0700
committerKurt Schwehr <schwehr@google.com>2018-04-22 08:17:56 -0700
commit454c1326e5f1cae87712b011434776375ac84fbb (patch)
tree0af497b0c043ea36d9365c3f46c6c6c7916663d1 /src
parent613d95ef99f29fcf42fab27d1ef26adb87745e35 (diff)
downloadPROJ-454c1326e5f1cae87712b011434776375ac84fbb.tar.gz
PROJ-454c1326e5f1cae87712b011434776375ac84fbb.zip
More cleanup and fix last commit
Tried building before committing time
Diffstat (limited to 'src')
-rw-r--r--src/PJ_isea.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/PJ_isea.c b/src/PJ_isea.c
index 6c870a2b..3e941c77 100644
--- a/src/PJ_isea.c
+++ b/src/PJ_isea.c
@@ -30,7 +30,7 @@ struct hex {
/* y *must* be positive down as the xy /iso conversion assumes this */
ISEA_STATIC
void hex_xy(struct hex *h) {
- if (!h->iso) return 1;
+ if (!h->iso) return;
if (h->x >= 0) {
h->y = -h->y - (h->x+1)/2;
} else {
@@ -42,7 +42,7 @@ void hex_xy(struct hex *h) {
ISEA_STATIC
void hex_iso(struct hex *h) {
- if (h->iso) return 1;
+ if (h->iso) return;
if (h->x >= 0) {
h->y = (-h->y - (h->x+1)/2);
@@ -600,27 +600,27 @@ isea_grid_init(struct isea_dgg * g)
}
ISEA_STATIC
-int
+void
isea_orient_isea(struct isea_dgg * g)
{
if (!g)
- return 0;
+ return;
g->o_lat = ISEA_STD_LAT;
g->o_lon = ISEA_STD_LON;
g->o_az = 0.0;
- return 1;
+ return;
}
ISEA_STATIC
-int
+void
isea_orient_pole(struct isea_dgg * g)
{
if (!g)
- return 0;
+ return;
g->o_lat = M_PI / 2.0;
g->o_lon = 0.0;
g->o_az = 0;
- return 1;
+ return;
}
ISEA_STATIC