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

Comparing ray/src/cv/mgflib/xf.c (file contents):
Revision 1.9 by greg, Wed May 10 22:20:57 1995 UTC vs.
Revision 1.10 by greg, Wed Nov 22 16:09:23 1995 UTC

# Line 224 | Line 224 | xf_xfmpoint(v1, v2)            /* transform a point by the curre
224   FVECT   v1, v2;
225   {
226          if (xf_context == NULL) {
227 <                v1[0] = v2[0];
228 <                v1[1] = v2[1];
229 <                v1[2] = v2[2];
227 >                VCOPY(v1, v2);
228                  return;
229          }
230          multp3(v1, v2, xf_context->xf.xfm);
# Line 238 | Line 236 | xf_xfmvect(v1, v2)             /* transform a vector using curren
236   FVECT   v1, v2;
237   {
238          if (xf_context == NULL) {
239 <                v1[0] = v2[0];
242 <                v1[1] = v2[1];
243 <                v1[2] = v2[2];
239 >                VCOPY(v1, v2);
240                  return;
241          }
242          multv3(v1, v2, xf_context->xf.xfm);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines