[Bf-blender-cvs] [50bfaffc6b5] master: Cycles: Cleanup, space after keyword
Sergey Sharybin
noreply at git.blender.org
Mon Apr 24 11:23:27 CEST 2017
Commit: 50bfaffc6b5ea250063825263a4099f9b384edfb
Author: Sergey Sharybin
Date: Mon Apr 24 11:21:35 2017 +0200
Branches: master
https://developer.blender.org/rB50bfaffc6b5ea250063825263a4099f9b384edfb
Cycles: Cleanup, space after keyword
===================================================================
M intern/cycles/kernel/closure/bsdf_microfacet.h
===================================================================
diff --git a/intern/cycles/kernel/closure/bsdf_microfacet.h b/intern/cycles/kernel/closure/bsdf_microfacet.h
index 58f6140970d..3fe7572e4ce 100644
--- a/intern/cycles/kernel/closure/bsdf_microfacet.h
+++ b/intern/cycles/kernel/closure/bsdf_microfacet.h
@@ -258,7 +258,7 @@ ccl_device_forceinline float3 reflection_color(const MicrofacetBsdf *bsdf, float
ccl_device_forceinline float D_GTR1(float NdotH, float alpha)
{
- if (alpha >= 1.0f) return M_1_PI_F;
+ if(alpha >= 1.0f) return M_1_PI_F;
float alpha2 = alpha*alpha;
float t = 1.0f + (alpha2 - 1.0f) * NdotH*NdotH;
return (alpha2 - 1.0f) / (M_PI_F * logf(alpha2) * t);
More information about the Bf-blender-cvs
mailing list