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

Fget angle

From FenixWiki

Revision as of 00:05, 9 July 2007 by Sandman (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


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 B.

Notes

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

Personal tools