Tema: angulos
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 12/07/2005, 23:43
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 19 años, 10 meses
Puntos: 53
eso no es cosa de programacion sino de MATEMATICAS

Math.atan2()

Method; computes and returns the arc tangent of y/x in radians. The return value represents the angle opposite the opposite angle of a right triangle, where x is the adjacent side length and y is the opposite side length.

Math.atan()

Method; computes and returns the arc tangent for the number specified in the parameter x. The return value is between negative pi divided by 2, and positive pi divided by 2.

Esa es la razon por la que no te funciona con atan

Última edición por stock; 12/07/2005 a las 23:50