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.2 by rschregle, Fri May 8 13:20:22 2015 UTC vs.
Revision 2.3 by greg, Wed May 20 12:58:31 2015 UTC

# Line 35 | Line 35
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 */
38 >      float dir [3], pos [3];     /* Incident dir & hit point */
39     } PhotonPrimary;
40        
41     #define photonSrcIdx(pm, p) ((pm) -> primary [(p) -> primary].srcIdx)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines