0

Can someone explain me this approach?

private void touch_move(float x, float y) {
    ...
    mPath.quadTo(mX, mY, (x + mX)/2, (y + mY)/2);
    ...      
}

For the full code: Please see the first answer here

Why aren't the new x and y taken for the third and fourth argument?

Why this arithmetic? What is computed there?

cluster1
  • 4,216
  • 5
  • 26
  • 43
  • I wonder why too. `mPath.quadTo(mX+((x-mX)/2),mY+((y-mY)/2),x,y)` is probably makes sense. Anyway, you'll have to test it for yourself I guess. – Darkman Aug 01 '21 at 12:51

0 Answers0