Cleanup: Add comment about light_p being modified in one case.
This commit is contained in:
parent
1aa93dd9fd
commit
7e73b6aa25
|
@ -173,6 +173,8 @@ ccl_device float3 sphere_light_sample(float3 P, float3 center, float radius, flo
|
|||
* An Area-Preserving Parametrization for Spherical Rectangles.
|
||||
*
|
||||
* https://www.solidangle.com/research/egsr2013_spherical_rectangle.pdf
|
||||
*
|
||||
* Note: light_p is modified when sample_coord is true.
|
||||
*/
|
||||
ccl_device float area_light_sample(float3 P,
|
||||
float3 *light_p,
|
||||
|
|
Loading…
Reference in New Issue