ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/hd/rhdobj.c
(Generate patch)

Comparing ray/src/hd/rhdobj.c (file contents):
Revision 3.18 by greg, Fri Jan 7 20:33:02 2005 UTC vs.
Revision 3.20 by greg, Fri May 20 02:06:39 2011 UTC

# Line 34 | Line 34 | void   (*dobj_lightsamp)(COLR clr, FVECT direc, FVECT po
34   #define NALT            11              /* # sampling altitude angles */
35   #endif
36   #ifndef NAZI
37 < #define NAZI            ((int)(PI/2.*NALT+.5))
37 > #define NAZI            17
38   #endif
39  
40   typedef struct dlights {
# Line 954 | Line 954 | dobj_render(void)                      /* render our objects in OpenGL */
954                          continue;
955                                          /* set up lighting */
956                  if (op->drawcode == DO_LIGHT && op->ol != NULL) {
957 <                        BYTE    pval;
957 >                        uby8    pval;
958                          double  expval, d;
959                                                  /* use computed sources */
960                          if (tmMapPixels(tmGlobal, &pval, &op->ol->larb,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines