diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-13 09:58:52 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-13 09:58:52 +0300 |
commit | 84c68dcb3fbd172626e2f58a2b2d8f9390520b48 (patch) | |
tree | 4837f821adc930a36e4759db5154cc06f017cab0 /intern/cycles/subd | |
parent | c1a27a76cf9f40ab9dabb5888ee535e585444fcd (diff) |
Cycles: Minor cleanup, whitespace around keyword and preprocessor indent
Diffstat (limited to 'intern/cycles/subd')
-rw-r--r-- | intern/cycles/subd/subd_patch.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/subd/subd_patch.cpp b/intern/cycles/subd/subd_patch.cpp index 3b0fb5b9f3a..60a78016054 100644 --- a/intern/cycles/subd/subd_patch.cpp +++ b/intern/cycles/subd/subd_patch.cpp @@ -114,11 +114,11 @@ BoundBox LinearTrianglePatch::bound() void BicubicPatch::eval(float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) { - if (N) { + if(N) { float3 dPdu_, dPdv_; decasteljau_bicubic(P, &dPdu_, &dPdv_, hull, u, v); - if (dPdu && dPdv) { + if(dPdu && dPdv) { *dPdu = dPdu_; *dPdv = dPdv_; } |