diff options
author | Thomas Dinges <blender@dingto.org> | 2014-06-01 09:13:52 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-06-01 09:13:52 +0400 |
commit | abec1986653353e5bb52097f26f17d7fe1f378c4 (patch) | |
tree | 5f155ba44dd797d1b4cf173f019dbc8e2ddb2aa8 | |
parent | 14be4b506ac8011b2d9d733a1577b0e995571ff5 (diff) |
Code cleanup, unused variables and comments.
-rw-r--r-- | intern/cycles/kernel/geom/geom_curve.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/intern/cycles/kernel/geom/geom_curve.h b/intern/cycles/kernel/geom/geom_curve.h index e1d225436a6..dabfb0c72c8 100644 --- a/intern/cycles/kernel/geom/geom_curve.h +++ b/intern/cycles/kernel/geom/geom_curve.h @@ -605,7 +605,6 @@ ccl_device_inline bool bvh_cardinal_curve_intersect(KernelGlobals *kg, Intersect isect->type = type; isect->u = u; isect->v = gd; - /*isect->transparency = 1.0f - coverage; */ isect->t = t; hit = true; } @@ -841,7 +840,6 @@ ccl_device_inline bool bvh_curve_intersect(KernelGlobals *kg, Intersection *isec isect->type = type; isect->u = z*invl; isect->v = gd; - /*isect->transparency = 1.0f - adjradius;*/ isect->t = t; return true; @@ -1012,10 +1010,6 @@ ccl_device_inline float3 bvh_curve_refine(KernelGlobals *kg, ShaderData *sd, con sd->dPdv = cross(tg, sd->Ng); #endif - /*add fading parameter for minimum pixel width with transparency bsdf*/ - /*sd->curve_transparency = isect->transparency;*/ - /*sd->curve_radius = sd->u * gd * l + r1;*/ - if(isect->object != OBJECT_NONE) { #ifdef __OBJECT_MOTION__ Transform tfm = sd->ob_tfm; |