jackjackrene / SAD_Pi

4 stars 1 forks source link

Conversion not taking place correctly #63

Closed jadmr closed 9 years ago

jadmr commented 9 years ago

The conversion class is not correctly converting the rectangular coordinates to spherical coordinates. For example,

TargetY is located at x = 503, y = 602, z = 102, and the corresponding spherical coordinates are rho = 791.0859624 phi = 82.59184859 theta = 50.119618

However, the actual parameters passed to the Kill() method are phi = .69604 theta = 1.44

The conversion is not taking place properly. Ill add more details if I find any.

jadmr commented 9 years ago

Jackie fixed it