diff options
author | Thomas Dinges <blender@dingto.org> | 2013-09-20 03:54:16 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2013-09-20 03:54:16 +0400 |
commit | 9a348c354af0ce0ceeeaec0b57baa2bd8baebfce (patch) | |
tree | c6995c4a71c9546b3226041837f67f81edf4a94a /intern/cycles/kernel/closure/bsdf_hair.h | |
parent | d6b21df2e61318c3465272c9055be4451060d94c (diff) |
* Style cleanup / Cycles.
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_hair.h')
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_hair.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_hair.h b/intern/cycles/kernel/closure/bsdf_hair.h index 5a5f0360e5b..5825d2637ba 100644 --- a/intern/cycles/kernel/closure/bsdf_hair.h +++ b/intern/cycles/kernel/closure/bsdf_hair.h @@ -47,16 +47,16 @@ __device void bsdf_hair_transmission_blur(ShaderClosure *sc, float roughness) __device int bsdf_hair_reflection_setup(ShaderClosure *sc) { sc->type = CLOSURE_BSDF_HAIR_REFLECTION_ID; - sc->data0 = clamp(sc->data0, 0.001f,1.0f); - sc->data1 = clamp(sc->data1, 0.001f,1.0f); + sc->data0 = clamp(sc->data0, 0.001f, 1.0f); + sc->data1 = clamp(sc->data1, 0.001f, 1.0f); return SD_BSDF|SD_BSDF_HAS_EVAL|SD_BSDF_GLOSSY; } __device int bsdf_hair_transmission_setup(ShaderClosure *sc) { sc->type = CLOSURE_BSDF_HAIR_TRANSMISSION_ID; - sc->data0 = clamp(sc->data0, 0.001f,1.0f); - sc->data1 = clamp(sc->data1, 0.001f,1.0f); + sc->data0 = clamp(sc->data0, 0.001f, 1.0f); + sc->data1 = clamp(sc->data1, 0.001f, 1.0f); return SD_BSDF|SD_BSDF_HAS_EVAL|SD_BSDF_GLOSSY; } @@ -67,7 +67,7 @@ __device float3 bsdf_hair_reflection_eval_reflect(const ShaderClosure *sc, const float3 Tg = sc->T; #else float offset = 0.0f; - float3 Tg = make_float3(1.0f,0.0f,0.0f); + float3 Tg = make_float3(1.0f, 0.0f, 0.0f); #endif float roughness1 = sc->data0; float roughness2 = sc->data1; @@ -124,7 +124,7 @@ __device float3 bsdf_hair_transmission_eval_transmit(const ShaderClosure *sc, co float3 Tg = sc->T; #else float offset = 0.0f; - float3 Tg = make_float3(1.0f,0.0f,0.0f); + float3 Tg = make_float3(1.0f, 0.0f, 0.0f); #endif float roughness1 = sc->data0; float roughness2 = sc->data1; @@ -170,7 +170,7 @@ __device int bsdf_hair_reflection_sample(const ShaderClosure *sc, float3 Ng, flo float3 Tg = sc->T; #else float offset = 0.0f; - float3 Tg = make_float3(1.0f,0.0f,0.0f); + float3 Tg = make_float3(1.0f, 0.0f, 0.0f); #endif float roughness1 = sc->data0; float roughness2 = sc->data1; @@ -225,7 +225,7 @@ __device int bsdf_hair_transmission_sample(const ShaderClosure *sc, float3 Ng, f float3 Tg = sc->T; #else float offset = 0.0f; - float3 Tg = make_float3(1.0f,0.0f,0.0f); + float3 Tg = make_float3(1.0f, 0.0f, 0.0f); #endif float roughness1 = sc->data0; float roughness2 = sc->data1; |