Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2015-02-17 21:24:37 +0300
committerThomas Dinges <blender@dingto.org>2015-02-17 21:24:37 +0300
commit7e73b6aa25221697375aa4ae9d231be5b3233677 (patch)
tree4083c3b90b020c40594135d7ed39d710196f6d7c /intern/cycles/kernel/kernel_light.h
parent1aa93dd9fd84b74945ab6a3644764393557e30b9 (diff)
Cleanup: Add comment about light_p being modified in one case.
Diffstat (limited to 'intern/cycles/kernel/kernel_light.h')
-rw-r--r--intern/cycles/kernel/kernel_light.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/kernel/kernel_light.h b/intern/cycles/kernel/kernel_light.h
index 0be8a9eab99..846ec801f77 100644
--- a/intern/cycles/kernel/kernel_light.h
+++ b/intern/cycles/kernel/kernel_light.h
@@ -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,