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

Comparing ray/src/ot/sphere.c (file contents):
Revision 2.2 by greg, Sat Feb 22 02:07:26 2003 UTC vs.
Revision 2.5 by schorsch, Tue Mar 30 16:13:00 2004 UTC

# Line 50 | Line 50 | static const char      RCSid[] = "$Id$";
50   */
51  
52  
53 < o_sphere(o, cu)                 /* determine if sphere intersects cube */
54 < OBJREC  *o;
55 < register CUBE  *cu;
53 > int
54 > o_sphere(                       /* determine if sphere intersects cube */
55 >        OBJREC  *o,
56 >        register CUBE  *cu
57 > )
58   {
59          FVECT  v1;
60          double  d1, d2;
61 <        register FLOAT  *fa;
61 >        register RREAL  *fa;
62          register int  i;
63   #define  cent           fa
64   #define  rad            fa[3]

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines