Changeset 166
 Timestamp:
 Oct 24, 2009, 7:24:20 PM (4 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/libmercator.c
r142 r166 37 37 result.y = (1  log(tan(radians(lat)) + sec(radians(lat))) / G_PI) / 2; 38 38 39 return (result);39 return result; 40 40 } 41 41 … … 47 47 + sec(radians(lat))) / G_PI) / 2; 48 48 49 return (result);49 return result; 50 50 } 51 51 … … 57 57 result.y = mercatorToLat(G_PI * (1  2 * (y * unit + unit))); 58 58 59 return (result);59 return result; 60 60 } 61 61 … … 67 67 result.y = 180 + (x * unit) + unit; 68 68 69 return (result);69 return result; 70 70 } 71 71 … … 82 82 result.E = ret.y; 83 83 84 return (result);84 return result; 85 85 } 86 86
Note: See TracChangeset
for help on using the changeset viewer.