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.4 by greg, Wed May 20 14:15:26 2015 UTC vs.
Revision 2.5 by greg, Wed May 20 14:44:12 2015 UTC

# Line 34 | 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], pos [3];     /* Incident dir & hit point */
37 >      uint32 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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines