# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |