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

Comparing ray/src/rt/m_alias.c (file contents):
Revision 2.1 by greg, Tue Mar 11 19:29:05 2003 UTC vs.
Revision 2.2 by schorsch, Mon Jul 21 22:30:19 2003 UTC

# Line 37 | Line 37 | RAY    *r;
37          aobj = lastmod(objndx(m), m->oargs.sarg[0]);
38          if (aobj < 0)
39                  objerror(m, USER, "bad reference");
40 <        copystruct(&arec, objptr(aobj));
40 >        arec = *objptr(aobj);
41                                          /* irradiance hack */
42          if (do_irrad && !(r->crtype & ~(PRIMARY|TRANS)) &&
43                          (ofun[arec.otype].flags & (T_M|T_X))) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines