Cleanup: Add comment about light_p being modified in one case.

This commit is contained in:
Thomas Dinges 2015-02-17 19:24:37 +01:00
parent 1aa93dd9fd
commit 7e73b6aa25
1 changed files with 2 additions and 0 deletions

View File

@ -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,