Hi,
fyi r.sun users-
as per http://thread.gmane.org/gmane.comp.gis.grass.devel/40650
I've committed the patch in trunk (r48209) to remove pj_do_proj()
inside rsunlib's com_par() loop. This patch was needed for OpenCL-
ization, but also fixes a few degree CCW rotation in the shadows
which has been there since r.sun2 was introduced.
(candidate for backporting to 6.4)
Besides fixing the rotation bug this makes the module run a few
percent faster.
Hamish