# | Line 63 | Line 63 | setfunc(m, r) /* simplified interface to setmap */ | |
---|---|---|
63 | register OBJREC *m; | |
64 | RAY *r; | |
65 | { | |
66 | < | #define mxf ((XF *)m->os) |
66 | > | register XF *mxf; |
67 | ||
68 | < | if (mxf == NULL) { |
68 | > | if ((mxf = (XF *)m->os) == NULL) { |
69 | register int n = m->oargs.nsargs; | |
70 | register char **sa = m->oargs.sarg; | |
71 | ||
# | Line 82 | Line 82 | RAY *r; | |
82 | objerror(m, USER, "bad transform"); | |
83 | if (mxf->sca < 0.0) | |
84 | mxf->sca = -mxf->sca; | |
85 | + | m->os = (char *)mxf; |
86 | } | |
87 | setmap(m, r, mxf->sca, mxf->xfm); | |
88 | return; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |