Open karip opened 8 years ago
The step 4.2.2 “Adjust positions: dx, dy” in the text chapter uses wrong variables. It says:
“Let shift.x = shift.x + resolve_x[i] and shift.y = shift.y + resolve_y[i].”
I think it should be
“Let shift.x = shift.x + resolve_dx[i] and shift.y = shift.y + resolve_dy[i].”
4.2.1 should probably be: Let shift be the cumulative x and y shifts due to ‘dx’ and ‘dy’ attributes, initialized to (0,0).
I will review this further.
You are right. Also, the one below it should be:
The step 4.2.2 “Adjust positions: dx, dy” in the text chapter uses wrong variables. It says:
“Let shift.x = shift.x + resolve_x[i] and shift.y = shift.y + resolve_y[i].”
I think it should be
“Let shift.x = shift.x + resolve_dx[i] and shift.y = shift.y + resolve_dy[i].”