Code cleanup / Cycles:
authorThomas Dinges <blender@dingto.org>
Fri, 10 May 2013 12:51:30 +0000 (12:51 +0000)
committerThomas Dinges <blender@dingto.org>
Fri, 10 May 2013 12:51:30 +0000 (12:51 +0000)
commit96a11219f655a7a99853b8365b6f014a1db5d74b
tree2773206665a25326905030af1b56fff79ae71a88
parent5424c1fe55966b3bc501a1f7e18bcdf667ce87f9
Code cleanup / Cycles:
* Change some more if / else if conditions to switch / case.
* Avoid an unneeded variable casting in phong_ramp closure.
intern/cycles/blender/blender_curves.cpp
intern/cycles/blender/blender_mesh.cpp
intern/cycles/kernel/closure/bsdf_phong_ramp.h