From: curt Date: Tue, 30 Dec 1997 23:10:19 +0000 (+0000) Subject: Calculate lighting parameters here. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=41dd9d6dae815a51b80278bd98de1323c38bada6;p=flightgear.git Calculate lighting parameters here. --- diff --git a/Time/sunpos.c b/Time/sunpos.c index b2b6d1f93..71cba1e6d 100644 --- a/Time/sunpos.c +++ b/Time/sunpos.c @@ -312,6 +312,9 @@ void fgUpdateSunPos() { l->sun_vec[3] = 0.0; l->sun_vec_inv[3] = 0.0; + printf(" l->sun_vec = %.2f %.2f %.2f\n", l->sun_vec[0], l->sun_vec[1], + l->sun_vec[2]); + /* calculate the sun's relative angle to local up */ MAT3_COPY_VEC(nup, v->local_up); nsun[0] = l->fg_sunpos.x; @@ -370,9 +373,12 @@ void fgUpdateSunPos() { /* $Log$ -/* Revision 1.20 1997/12/30 22:22:43 curt -/* Further integration of event manager. +/* Revision 1.21 1997/12/30 23:10:19 curt +/* Calculate lighting parameters here. /* + * Revision 1.20 1997/12/30 22:22:43 curt + * Further integration of event manager. + * * Revision 1.19 1997/12/30 20:47:59 curt * Integrated new event manager with subsystem initializations. *