diff options
author | Thomas Dinges <blender@dingto.org> | 2015-04-26 01:42:26 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2015-04-26 01:42:26 +0300 |
commit | bc160d8a85e58f6bc2dd60b318bfd236e4a4a61e (patch) | |
tree | 0c55a98deb2dbeea3b0b392b23b34c7f4e0d1584 /intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h | |
parent | 8dd055cd47073adccb0b596384b8e642c9d0777d (diff) |
Cleanup: Code style.
Diffstat (limited to 'intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h')
-rw-r--r-- | intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h b/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h index dec09e00395..8d7d533d6f8 100644 --- a/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h +++ b/intern/cycles/kernel/closure/bsdf_ashikhmin_shirley.h @@ -70,7 +70,7 @@ ccl_device float3 bsdf_ashikhmin_shirley_eval_reflect(const ShaderClosure *sc, c float out = 0.0f; if(fmaxf(sc->data0, sc->data1) <= 1e-4f) - return make_float3(0, 0, 0); + return make_float3(0.0f, 0.0f, 0.0f); if(NdotI > 0.0f && NdotO > 0.0f) { NdotI = fmaxf(NdotI, 1e-6f); |