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

Comparing ray/src/common/fvect.c (file contents):
Revision 1.6 by greg, Tue Apr 2 15:27:44 1991 UTC vs.
Revision 2.2 by greg, Fri Oct 2 16:02:43 1992 UTC

# Line 10 | Line 10 | static char SCCSid[] = "$SunId$ LBL";
10   *     8/14/85
11   */
12  
13 + #include  <math.h>
14   #include  "fvect.h"
15  
15 #define  FTINY          1e-7
16  
17
17   double
18   fdot(v1, v2)                    /* return the dot product of two vectors */
19   register FVECT  v1, v2;
# Line 122 | Line 121 | spinvector(vres, vorig, vnorm, theta)  /* rotate vector
121   FVECT  vres, vorig, vnorm;
122   double  theta;
123   {
125        extern double  cos(), sin();
124          double  sint, cost, normprod;
125          FVECT  vperp;
126          register int  i;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines