SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

Thread Tools Display Modes
Old 28/10/2009, 07:53 AM   #1
Big Clucker
xomka's Avatar
Join Date: Mar 2008
Posts: 123
Reputation: 0
Default asin, acos, atan, atan2 funcs?

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

xomka is offline  
Old 28/10/2009, 08:35 AM   #2
Join Date: Apr 2009
Location: Slovenia
Posts: 2,200
Reputation: 22
Default Re: asin, acos, atan, atan2 funcs?

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

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
asin. acos, atan, atan2 Kovacs_Richard Help Archive 1 17/11/2009 07:55 AM

All times are GMT. The time now is 05:43 AM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.