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.5 by schorsch, Sat Mar 27 12:41:45 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 106 | Line 110 | CUBE  *cu;
110   }
111  
112  
113 + /* XXX o_instance() is extern, but not declared in any header file */
114   int
115 < o_instance(o, cu)                       /* determine if instance intersects */
116 < OBJREC  *o;
117 < CUBE  *cu;
115 > o_instance(                     /* determine if instance intersects */
116 >        OBJREC  *o,
117 >        CUBE  *cu
118 > )
119   {
120          INSTANCE  *ins;
121                                          /* get octree bounds */
# Line 119 | Line 125 | CUBE  *cu;
125   }
126  
127  
128 + /* XXX o_mesh() is extern, but not declared in any header file */
129   int
130 < o_mesh(o, cu)                           /* determine if mesh intersects */
131 < OBJREC  *o;
132 < CUBE  *cu;
130 > o_mesh(                         /* determine if mesh intersects */
131 >        OBJREC  *o,
132 >        CUBE  *cu
133 > )
134   {
135          MESHINST        *mip;
136                                          /* get mesh bounds */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines