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

Comparing ray/src/ot/o_instance.c (file contents):
Revision 1.4 by greg, Tue Oct 24 13:57:42 1989 UTC vs.
Revision 2.2 by greg, Sat Feb 22 02:07:26 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1988 Regents of the University of California */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ LBL";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   *  o_instance.c - routines for creating octrees for other octrees.
6   *
# Line 14 | Line 11 | static char SCCSid[] = "$SunId$ LBL";
11  
12   #include  "object.h"
13  
14 + #include  "octree.h"
15 +
16   #include  "instance.h"
17  
18   #include  "plocate.h"
# Line 66 | Line 65 | CUBE  *cu;
65                          if (i & 1<<j)
66                                  v1[j] += cu->cusize;
67                  }
68 <                multp3(v2, v1, in->b.xfm);
68 >                multp3(v2, v1, in->x.b.xfm);
69                  if (j = plocate(v2, cumin, cumax))
70                          vout++;
71                  vloc &= j;
# Line 87 | Line 86 | CUBE  *cu;
86                          if (i & 1<<j)
87                                  v1[j] += in->obj->scube.cusize;
88                  }
89 <                multp3(vert[i], v1, in->f.xfm);
89 >                multp3(vert[i], v1, in->x.f.xfm);
90                  if (j = plocate(vert[i], cumin, cumax))
91                          vloc &= j;
92                  else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines