ehofman dea7b9050d Phil Cazzola:
This is a minor bug fix for sgBucketDiff().
If you crossed the bucket size boundary, the answer for dx could be wrong.

E.g.
 going from   0:0, 21:7  to 0:7, 21:7   would give you dx = 7 (correct)
 but going from 0:0, 21:7 to 0:3, 22:0 would give you dx = 6 (instead of 7)

Previously it differenced the center longitudes of the buckets.  When you
cross a boundary, the center point of the larger bucket now lies on the edge of the smaller bucket.

The result was a dx with an integer + 1/2 bucket, which rint() was rounding to the nearest even int.

This function only seems to be used in TerraGear.
2005-05-01 08:50:39 +00:00
2005-05-01 08:50:39 +00:00
2004-04-04 14:24:06 +00:00
2005-02-15 18:13:15 +00:00
2000-02-09 19:27:02 +00:00
2004-12-15 16:34:14 +00:00
2003-06-11 18:55:36 +00:00
2004-10-12 14:35:42 +00:00
2005-01-18 14:34:13 +00:00
2001-12-17 16:52:20 +00:00
2002-09-02 22:18:31 +00:00
2002-05-10 13:31:44 +00:00
2000-03-29 00:00:46 +00:00
2002-09-07 02:58:19 +00:00

[ Nothing here at this time. ]
Description
No description provided
Readme 14 MiB
Languages
C++ 85.5%
C 13.1%
CMake 1.4%