K so ive got two coordinates: x1,y1 x2,y2
I want x3,y3 by translating x2,y2 a fixed amount.

Var is type int = 5 for example, the x,y positions can be type double.
How can i do this? Btw i need the generic answer as this must work no matter where x1,y1 and x2,y2 are.
I want x3,y3 by translating x2,y2 a fixed amount.

Var is type int = 5 for example, the x,y positions can be type double.
How can i do this? Btw i need the generic answer as this must work no matter where x1,y1 and x2,y2 are.
Last edited by Vilham (2008-02-12 19:13:08)