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

Comparing ray/src/common/plocate.c (file contents):
Revision 1.1 by greg, Thu Feb 2 10:33:05 1989 UTC vs.
Revision 2.3 by greg, Tue Feb 25 02:47:21 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1986 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   *  plocate.c - routine to locate 3D vector w.r.t. box.
9 *
10 *     8/28/85
6   */
7  
8 + #include "copyright.h"
9 +
10 + #include  "fvect.h"
11 +
12   #include  "plocate.h"
13  
14  
15   int
16   plocate(p, min, max)            /* return location of p w.r.t. min & max */
17 < register double  p[3];
18 < double  min[3], max[3];
17 > register FVECT  p;
18 > FVECT  min, max;
19   {
20          register int  loc = 0;
21  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines