diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-08-01 03:06:12 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-08-01 03:06:12 +0400 |
commit | a199ae5368fa4a1de36f62dbb214a051b3fbe0c3 (patch) | |
tree | 12c5021085ec3ac707ebc7855112bab3120f268f /intern/cycles/kernel/kernel_montecarlo.h | |
parent | a70a48814e16ffd063231577e1a120e1c2629675 (diff) |
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
Diffstat (limited to 'intern/cycles/kernel/kernel_montecarlo.h')
-rw-r--r-- | intern/cycles/kernel/kernel_montecarlo.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/kernel/kernel_montecarlo.h b/intern/cycles/kernel/kernel_montecarlo.h index 939f3915b6c..afc53b1117a 100644 --- a/intern/cycles/kernel/kernel_montecarlo.h +++ b/intern/cycles/kernel/kernel_montecarlo.h @@ -87,8 +87,8 @@ __device_inline void sample_cos_hemisphere(const float3 N, } __device_inline void sample_uniform_hemisphere(const float3 N, - float randu, float randv, - float3 *omega_in, float *pdf) + float randu, float randv, + float3 *omega_in, float *pdf) { float z = randu; float r = sqrtf(max(0.0f, 1.0f - z*z)); |