Iphone Animation - Calculation to plot Cartesian Coordinates -


I have two digits (x1, y1) A & amp; (X2, y2) b.

I want to alert an image to point A to B but there is also a touch event on that image. What is the best way to accomplish this?

I am currently using CP point Mac for point point, but I want a timer loop to plug in two coordinates and move the object.

I still have it, but it does not seem to work.

CGFloat xStep = x1;

xStep ++;

CGFloat yStep = (((Y2-y1) / (x2-x1) * xStep) + (((y2-y1) / (x2-x1)) * x1)

< / Div>

I think you are going to a very low level about things like doing:


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -