135 90 45
\ | /
\ | /
\|/
180 <----o----> 0 or 360
/|\
/ | \
/ | \
225 270 315
-----------------------
flipX(45) //returns 315
flipY(45) //returns 135
flipX(225)//returns 135
flipY(225)//returns 315
ID:155366
Jul 22 2011, 5:48 am (Edited on Jul 22 2011, 6:34 am)
|
|
Is there some formula that'd return as follows:
|
Jul 22 2011, 6:03 am
|
|
I may be misunderstanding, but could you just flipX() the value, then flipY() the value flipX() returned?
|
In response to Albro1
|
|
I don't have these procs. I need the programming that would make these procs work without having to brute force it.
|
In response to Oasiscircle
|
|
Oh, alright. I understand your question now. I'll see what I can come up with.
|
In response to Albro1
|
|
How about doing 180-Angle?
|
In response to Albro1
|
|
Yeah, 180-Angle works. You need to do negative checks though. If it's negative, just add the negative to 360 and that is your angle. (180-225=-45 : 360+-45=225)
|