[gvar] Minor call a function instead of handcoding

This commit is contained in:
Behdad Esfahbod committed 2023-04-24 15:06:03 -06:00
1 parent cf95f3193b
commit 491aa572ce
1 file changed
+2 -4
+2 -4
View File
@@ -400,10 +400,8 @@ struct gvar
/* apply specified / inferred deltas to points */
for (unsigned int i = 0; i < points.length; i++)
{
points.arrayZ[i].x += deltas.arrayZ[i].x;
points.arrayZ[i].y += deltas.arrayZ[i].y;
}
points.arrayZ[i].translate (deltas.arrayZ[i]);
} while (iterator.move_to_next ());
return true;