This wiki is out of date, use the continuation of this wiki instead

Fget angle

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 00:05, 9 July 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Revision as of 00:08, 9 July 2007 (edit) (undo)
Sandman (Talk | contribs)
m (β†’Returns)
Next diff β†’
Line 19: Line 19:
== Returns == == Returns ==
-'''INT''' : The angle between point A and B.+'''INT''' : The angle between point A and point B.
== Notes == == Notes ==
The [[angle]] value returned by this function is in thousandths of degrees, as most angles within [[Fenix]] are. The [[angle]] value returned by this function is in thousandths of degrees, as most angles within [[Fenix]] are.

Revision as of 00:08, 9 July 2007


Contents

Definition

INT fget_angle ( <INT pointA-X> , <INT pointA-Y> , <INT pointB-X> , <INT pointB-Y> )

Returns the angle between two certain points. The returned angle will be ranging from 0 to 360000 (0-360ΒΊ).

Parameters

INT pointA-X - The X-coordinate of point A.
INT pointA-Y - The Y-coordinate of point A.
INT pointB-X - The X-coordinate of point B.
INT pointB-Y - The Y-coordinate of point B.

Returns

INT : The angle between point A and point B.

Notes

The angle value returned by this function is in thousandths of degrees, as most angles within Fenix are.

Personal tools