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

Comparing ray/src/common/bsdf_t.c (file contents):
Revision 3.16 by greg, Sun Jun 5 20:27:14 2011 UTC vs.
Revision 3.18 by greg, Tue Jun 28 21:13:46 2011 UTC

# Line 10 | Line 10 | static const char RCSid[] = "$Id$";
10   *
11   */
12  
13 + #define _USE_MATH_DEFINES
14   #include "rtio.h"
15   #include <stdlib.h>
16   #include <math.h>
# Line 607 | Line 608 | SDgetTreCDist(const FVECT inVec, SDComponent *sdc)
608   {
609          const SDTre     *sdt;
610          double          inCoord[2];
610        int             vflags;
611          int             i;
612          SDTreCDst       *cd, *cdlast;
613                                          /* check arguments */
# Line 880 | Line 880 | load_bsdf_data(SDData *sd, ezxml_t wdb, int ndim)
880          SDSpectralDF    *df;
881          SDTre           *sdt;
882          char            *sdata;
883        int             i;
883                                          /* allocate BSDF component */
884          sdata = ezxml_txt(ezxml_child(wdb, "WavelengthDataDirection"));
885          if (!sdata)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines