diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 16:29:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-20 16:29:28 +0400 |
commit | fbe13ab84ac73752258ef50110bd562ed1263e5a (patch) | |
tree | cdcc17209ae1f93f40cd09f6e4d16ee1e4044e9a /intern/cycles/kernel/svm/svm_noise.h | |
parent | 8771c9e2feb70111da56ac6494fbce1f9f924713 (diff) |
style cleanup
Diffstat (limited to 'intern/cycles/kernel/svm/svm_noise.h')
-rw-r--r-- | intern/cycles/kernel/svm/svm_noise.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/svm/svm_noise.h b/intern/cycles/kernel/svm/svm_noise.h index dfaf43acbd4..224a1d96543 100644 --- a/intern/cycles/kernel/svm/svm_noise.h +++ b/intern/cycles/kernel/svm/svm_noise.h @@ -104,7 +104,7 @@ __device float grad(int hash, float x, float y, float z) // use vectors pointing to the edges of the cube int h = hash & 15; float u = h<8 ? x : y; - float v = h<4 ? y : h==12||h==14 ? x : z; + float v = h<4 ? y : h == 12 || h == 14 ? x : z; return ((h&1) ? -u : u) + ((h&2) ? -v : v); } |