title: arcsin wrong values?
body: <p>i am trying to calculate an angle of a body in my game.</p>
  
  <p>i have this :</p>
  
  <pre><code>power= sqrt (   pow( ( Xs-x),2)+pow((Ys-y),2)  );
      angle=( asin( (Ys-y ) / power )  )-90;
      cannonBody-&gt;SetTransform(cannonBody-&gt;GetPosition(), (-angle ) );
      NSLog(@"%f",(  x));
      NSLog(@"%f",( y));
      NSLog(@"%f",( Xs-x));   
      NSLog(@"%f",(Ys-y));    
      NSLog(@"%f",power);
      NSLog(@"%f", CC_RADIANS_TO_DEGREES( -angle));
  </code></pre>
  
  <p>somehow i get <code>POWER</code>  and <code>(Ys-y)</code>  good values( 68/82 which is 0.82=56 degrees)
          and the log always shows angle values of -5100 , even if i convert from radians..
  whats wrong here ?</p>
  
  <p>thanks.</p>