From: curt Date: Thu, 6 May 1999 02:27:24 +0000 (+0000) Subject: Tweaks for poles. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=218821f694d91686b338fcdd2e82777da85d480d;p=simgear.git Tweaks for poles. --- diff --git a/Lib/Bucket/newbucket.hxx b/Lib/Bucket/newbucket.hxx index 624ccb7d..6871b3ee 100644 --- a/Lib/Bucket/newbucket.hxx +++ b/Lib/Bucket/newbucket.hxx @@ -122,7 +122,7 @@ public: // return the horizontal tile span factor based on latitude inline double bucket_span( double l ) { if ( l >= 89.0 ) { - return 0.0; + return 360.0; } else if ( l >= 88.0 ) { return 8.0; } else if ( l >= 86.0 ) { @@ -150,7 +150,7 @@ inline double bucket_span( double l ) { } else if ( l >= -89.0 ) { return 8.0; } else { - return 0.0; + return 360.0; } }