Commit: 7e73b6aa25221697375aa4ae9d231be5b3233677 Author: Thomas Dinges Date: Tue Feb 17 19:24:37 2015 +0100 Branches: master https://developer.blender.org/rB7e73b6aa25221697375aa4ae9d231be5b3233677
Cleanup: Add comment about light_p being modified in one case. =================================================================== M intern/cycles/kernel/kernel_light.h =================================================================== diff --git a/intern/cycles/kernel/kernel_light.h b/intern/cycles/kernel/kernel_light.h index 0be8a9e..846ec80 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, _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs