asin, acos, atan, atan2 funcs?
#1

Those are not documented on wiki. Are they trigonometric? What do they do?
Reply
#2

arcus sinus, arcus cosinus, arcus tanges, arcus tanges 2 (x, y)

Example for atan2
pawn Code:
new
  Float:x = -10.0,
  Float:y = 10.0,
  Float:result;
result = atan2 (y,x) * 180 / 3.1415;
printf ("The arc tangent for (x=%lf, y=%lf) is %lf degrees\n", x, y, result );
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)