views:

73

answers:

2

hi there,

I am trying to retrieve the opposite radian angle after I have retrieve a radian angle from another calculation. This is using AS3

A: 

In psuedo code:


angle = angle + Math.PI;
angle = angle mod (Math.PI * 2)
Michael Dorgan
A: 
var oppositeRadianAngle:Number = radianAngle - Math.PI;

this seems to work too :D you can use + as stated before by James

Thomas