# | Line 1 | Line 1 | |
---|---|---|
1 | { RCSid $Id$ } | |
2 | { | |
3 | Shirley-Chiu coordinate calculation for BRDF data types (plasdata, metdata) | |
4 | – | |
5 | – | Assumes material in X-Y plane with Y axis "up" and surface normal is Z-axis |
4 | } | |
5 | { Compute square position from disk coordinates } | |
6 | norm_radians(p) : if(-p - PI/4, p + 2*PI, p); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |