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:
authorCampbell Barton <ideasman42@gmail.com>2012-06-09 21:22:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-09 21:22:52 +0400
commit0fbb6bff27139d66951fe223ff322c609d368a18 (patch)
treee75d0d4399e4b82746f4edbc0c2e20e8c25f7015 /intern/cycles/kernel/kernel_light.h
parent2f60d9b0b9af1df967e29fd1822d82ffd2450d0f (diff)
style cleanup: block comments
Diffstat (limited to 'intern/cycles/kernel/kernel_light.h')
-rw-r--r--intern/cycles/kernel/kernel_light.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/cycles/kernel/kernel_light.h b/intern/cycles/kernel/kernel_light.h
index 2bc5a882ce5..edc302cd6e3 100644
--- a/intern/cycles/kernel/kernel_light.h
+++ b/intern/cycles/kernel/kernel_light.h
@@ -64,8 +64,8 @@ __device float3 area_light_sample(float3 axisu, float3 axisv, float randu, float
__device float3 background_light_sample(KernelGlobals *kg, float randu, float randv, float *pdf)
{
/* for the following, the CDF values are actually a pair of floats, with the
- function value as X and the actual CDF as Y. The last entry's function
- value is the CDF total. */
+ * function value as X and the actual CDF as Y. The last entry's function
+ * value is the CDF total. */
int res = kernel_data.integrator.pdf_background_res;
int cdf_count = res + 1;
@@ -326,9 +326,9 @@ __device float triangle_light_pdf(KernelGlobals *kg,
__device int light_distribution_sample(KernelGlobals *kg, float randt)
{
/* this is basically std::upper_bound as used by pbrt, to find a point light or
- triangle to emit from, proportional to area. a good improvement would be to
- also sample proportional to power, though it's not so well defined with
- OSL shaders. */
+ * triangle to emit from, proportional to area. a good improvement would be to
+ * also sample proportional to power, though it's not so well defined with
+ * OSL shaders. */
int first = 0;
int len = kernel_data.integrator.num_distribution + 1;