ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/pmapdata.h
(Generate patch)

Comparing ray/src/rt/pmapdata.h (file contents):
Revision 2.1 by greg, Tue Feb 24 19:39:26 2015 UTC vs.
Revision 2.6 by greg, Thu May 28 12:27:22 2015 UTC

# Line 4 | Line 4
4  
5     Roland Schregle (roland.schregle@{hslu.ch, gmail.com})
6     (c) Fraunhofer Institute for Solar Energy Systems,
7 <       Lucerne University of Applied Sciences & Arts  
7 >   (c) Lucerne University of Applied Sciences and Arts,
8 >   supported by the Swiss National Science Foundation (SNSF, #147053)
9     ==================================================================
10    
11     $Id$
# Line 33 | Line 34
34  
35     /* Primary photon ray for light source contributions */
36     typedef struct {
37 <      short srcIdx;               /* Index of emitting light source */
38 <      float dir [3], org [3];     /* Incident dir & origin on source */
37 >      int32 srcIdx;               /* Index of emitting light source */
38 >      int32 dir;                  /* Encoded ray direction */
39 >      float pos [3];              /* Hit point */
40     } PhotonPrimary;
41        
42     #define photonSrcIdx(pm, p) ((pm) -> primary [(p) -> primary].srcIdx)
# Line 52 | Line 54
54           COLR flux;                  /* Photon flux */
55        #endif
56  
57 <      unsigned primary;              /* Index to primary ray */
57 >      uint32 primary;              /* Index to primary ray */
58     } Photon;
59    
60     /* Photon flag bitmasks and manipulation macros */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines