This looked like a very simple task. But for some reason I can't get my head around it at the moment. I need to calculate 3 coords in a 2D world. They will not always be in the first quadrant, so that has be to be taken into account (if it at all matters).
If you look at the picture, you can see that the cayen colored sqare is a known coordinate. It has two blue lines going out from it. It is 45deg between them, but it might change so lets just call it A. It is at the moment 1unit to the first blue line (the length of the short green line), but this can also change, so lets call it L1, and it is aditionaly 5units to the next blue line (the length of the long green line), so that points is 6units from the cayen colored square. Now I need a formula to calcuate the position of the 4 red dots using A L1 and L2. Anyone care to help a tired head?
Thanks in advance
- ØØ -




Reply With Quote