diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 22:45:28 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-03-30 22:46:19 +0400 |
commit | 482201d1a0a2e8002c9c8c8dda9e06b8b5c52fea (patch) | |
tree | 376b8c58a78e1c6e506d0c5b8df5ca975d3cd14d /source/blender/render/intern | |
parent | 0b8774fc427267793b3fc228da4bb0ce63f6cf76 (diff) |
Style cleanup
Diffstat (limited to 'source/blender/render/intern')
-rw-r--r-- | source/blender/render/intern/include/texture.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/render/intern/include/texture.h b/source/blender/render/intern/include/texture.h index 0e0337d6e0e..ff5004fd7f0 100644 --- a/source/blender/render/intern/include/texture.h +++ b/source/blender/render/intern/include/texture.h @@ -35,7 +35,7 @@ #define BRICONT \ texres->tin= (texres->tin-0.5f) * tex->contrast+tex->bright-0.5f; \ - if(!(tex->flag & TEX_NO_CLAMP)) { \ + if (!(tex->flag & TEX_NO_CLAMP)) { \ if (texres->tin < 0.0f) texres->tin= 0.0f; \ else if (texres->tin > 1.0f) texres->tin= 1.0f; \ } \ @@ -44,7 +44,7 @@ texres->tr= tex->rfac*((texres->tr-0.5f)*tex->contrast+tex->bright-0.5f); \ texres->tg= tex->gfac*((texres->tg-0.5f)*tex->contrast+tex->bright-0.5f); \ texres->tb= tex->bfac*((texres->tb-0.5f)*tex->contrast+tex->bright-0.5f); \ - if(!(tex->flag & TEX_NO_CLAMP)) { \ + if (!(tex->flag & TEX_NO_CLAMP)) { \ if (texres->tr < 0.0f) texres->tr= 0.0f; \ if (texres->tg < 0.0f) texres->tg= 0.0f; \ if (texres->tb < 0.0f) texres->tb= 0.0f; \ |