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

Comparing ray/src/common/fvect.c (file contents):
Revision 1.3 by greg, Mon May 8 08:40:56 1989 UTC vs.
Revision 1.4 by greg, Tue Oct 17 13:35:30 1989 UTC

# Line 83 | Line 83 | register FVECT  vres, v1, v2;
83   }
84  
85  
86 + fvsum(vres, v0, v1, f)          /* vres = v0 + f*v1 */
87 + FVECT  vres, v0, v1;
88 + double  f;
89 + {
90 +        vres[0] = v0[0] + f*v1[0];
91 +        vres[1] = v0[1] + f*v1[1];
92 +        vres[2] = v0[2] + f*v1[2];
93 + }
94 +
95 +
96   double
97   normalize(v)                    /* normalize a vector, return old magnitude */
98   register FVECT  v;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines