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

Comparing ray/src/common/tcos.c (file contents):
Revision 3.1 by gwlarson, Wed Dec 16 18:15:07 1998 UTC vs.
Revision 3.4 by schorsch, Thu Jul 17 09:21:29 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1998 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Table-based cosine approximation.
6   *
# Line 11 | Line 8 | static char SCCSid[] = "$SunId$ SGI";
8   * to avoid conversion and guarantee that tsin(x)^2 + tcos(x)^2 == 1.
9   *
10   * No interpolation in this version.
11 + *
12 + * External symbols declared in standard.h
13   */
14  
15 + #include "copyright.h"
16 +
17   #include <math.h>
18 +
19 + #include "rtmath.h"
20  
21   #ifndef NCOSENTRY
22   #define NCOSENTRY       256

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines