This is an automated email from the git hooks/post-receive script. sf pushed a commit to annotated tag v1.33 in repository mapcode.
commit c7257ba522284a9b2769b197e9ba93284c0b93a3 Author: unknown <[email protected]> Date: Thu Sep 4 21:43:31 2014 +0200 added missing 'y' calculation in conversion to Cartesian coordinates --- example/mapcode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/example/mapcode.cpp b/example/mapcode.cpp index 4c75ad9..a33772e 100755 --- a/example/mapcode.cpp +++ b/example/mapcode.cpp @@ -163,6 +163,7 @@ static void convertLatLonToXYZ(double latDeg, double lonDeg, double* x, double* double latRad = degToRad(latDeg); double lonRad = degToRad(lonDeg); *x = cos(latRad) * cos(lonRad); + *y = cos(latRad) * sin(lonRad); *z = sin(latRad); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/mapcode.git _______________________________________________ Pkg-grass-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

