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

Comparing ray/src/common/spec_rgb.c (file contents):
Revision 2.24 by greg, Fri May 18 22:48:39 2012 UTC vs.
Revision 2.25 by greg, Wed Aug 19 17:36:37 2020 UTC

# Line 111 | Line 111 | int  s,                        /* starting and ending wavelengths */
111   int  e
112   )
113   {
114 <        register int  i, d, r;
114 >        int  i, d, r;
115          
116          s -= STARTWL;
117          if (s < 0)
# Line 164 | Line 164 | COLOR  upper
164          int  rflags = 0;
165          double  brtmin, brtmax, v, vv;
166          COLOR  cgry;
167 <        register int  i;
167 >        int  i;
168                                          /* check for no check */
169          if (gamut == 0) return(0);
170                                          /* check brightness limits */
# Line 202 | Line 202 | COLOR  upper
202  
203   void
204   colortrans(                     /* convert c1 by mat and put into c2 */
205 < register COLOR  c2,
206 < register COLORMAT  mat,
207 < register COLOR  c1
205 > COLOR  c2,
206 > COLORMAT  mat,
207 > COLOR  c1
208   )
209   {
210          COLOR   cout;
# Line 225 | Line 225 | COLORMAT  m1
225   )
226   {
227          COLORMAT  mt;
228 <        register int  i, j;
228 >        int  i, j;
229  
230          for (i = 0; i < 3; i++)
231                  for (j = 0; j < 3; j++)
# Line 269 | Line 269 | RGBPRIMS  pr
269   int
270   compxyz2rgbmat(                 /* compute conversion from CIE to RGB space */
271   COLORMAT  mat,
272 < register RGBPRIMS  pr
272 > RGBPRIMS  pr
273   )
274   {
275          double  C_rD, C_gD, C_bD;
# Line 329 | Line 329 | register RGBPRIMS  pr
329   int
330   comprgb2xyzmat(                 /* compute conversion from RGB to CIE space */
331   COLORMAT  mat,
332 < register RGBPRIMS  pr
332 > RGBPRIMS  pr
333   )
334   {
335          double  C_rD, C_gD, C_bD, D;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines