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 2.4 by schorsch, Sun Jul 27 22:12:03 2003 UTC vs.
Revision 2.6 by schorsch, Tue Mar 30 16:13:00 2004 UTC

# Line 40 | Line 40 | static const char RCSid[] = "$Id$";
40   */
41  
42  
43 + static int o_cube(CUBE  *cu1, FULLXF  *fxf, CUBE  *cu);
44 +
45 +
46   static int
47 < o_cube(cu1, fxf, cu)                    /* determine if cubes intersect */
48 < CUBE  *cu1;
49 < FULLXF  *fxf;
50 < CUBE  *cu;
47 > o_cube(                 /* determine if cubes intersect */
48 >        CUBE  *cu1,
49 >        FULLXF  *fxf,
50 >        CUBE  *cu
51 > )
52   {
53          static int  vstart[4] = {0, 3, 5, 6};
54          FVECT  cumin, cumax;
# Line 107 | Line 111 | CUBE  *cu;
111  
112  
113   int
114 < o_instance(o, cu)                       /* determine if instance intersects */
115 < OBJREC  *o;
116 < CUBE  *cu;
114 > o_instance(                     /* determine if instance intersects */
115 >        OBJREC  *o,
116 >        CUBE  *cu
117 > )
118   {
119          INSTANCE  *ins;
120                                          /* get octree bounds */
# Line 120 | Line 125 | CUBE  *cu;
125  
126  
127   int
128 < o_mesh(o, cu)                           /* determine if mesh intersects */
129 < OBJREC  *o;
130 < CUBE  *cu;
128 > o_mesh(                         /* determine if mesh intersects */
129 >        OBJREC  *o,
130 >        CUBE  *cu
131 > )
132   {
133          MESHINST        *mip;
134                                          /* get mesh bounds */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines