From 7e73b6aa25221697375aa4ae9d231be5b3233677 Mon Sep 17 00:00:00 2001 From: Thomas Dinges Date: Tue, 17 Feb 2015 19:24:37 +0100 Subject: Cleanup: Add comment about light_p being modified in one case. --- intern/cycles/kernel/kernel_light.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'intern/cycles/kernel/kernel_light.h') 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, -- cgit v1.2.3