sphere-designer: Remove dead variable and assignment

This commit is contained in:
Mukund Sivaraman
2011-10-11 09:59:34 +05:30
parent 6ea66d8142
commit 1558c3ffa5

View File

@ -1302,7 +1302,7 @@ calclight (GimpVector4 * col, GimpVector4 * point, common * obj)
{
gint i, j;
ray r;
gdouble d, b, a;
gdouble b, a;
GimpVector4 lcol;
GimpVector4 norm;
GimpVector4 pcol;
@ -1346,7 +1346,6 @@ calclight (GimpVector4 * col, GimpVector4 * point, common * obj)
vcopy (&r.v1, point);
vcopy (&r.v2, &world.light[i].a);
vmix (&r.v1, &r.v1, &r.v2, 0.9999);
d = vdist (&r.v1, &r.v2);
vsub (&r.v1, &r.v2);
vnorm (&r.v1, 1.0);