| # | Line 71 | Line 71 | typedef struct { | |
|---|---|---|
| 71 | } SDValue; | |
| 72 | ||
| 73 | /* Cached, encoded, cumulative distribution for one incident (solid) angle */ | |
| 74 | < | #define SD_CDIST_BASE double cTotal; \ |
| 75 | < | struct SDCDst_s *next |
| 74 | > | #define SD_CDIST_BASE(styp) double cTotal; \ |
| 75 | > | struct styp *next |
| 76 | typedef struct SDCDst_s { | |
| 77 | < | SD_CDIST_BASE; /* base fields first */ |
| 77 | > | SD_CDIST_BASE(SDCDst_s); /* base fields first */ |
| 78 | /* ...encoded distribution extends struct */ | |
| 79 | } SDCDst; | |
| 80 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |