- This wiki is out of date, use the continuation of this wiki instead
Tan
From FenixWiki
Contents |
Definition
FLOAT tan ( <FLOAT angle> )
Returns the tangent of a certain angle.
This function performs a tangent calculation on the specified angle and returns the value as a floating point number between -1 and 1.
Parameters
FLOAT angle | - Angle, in thousandths of degrees. i.e. 75000 = 75º |
Returns
FLOAT : The tangent result of the specified angle.
Notes
The angle value used in this function should be in thousandths of degrees, as most angles within Fenix are, and will return a floating point value between -1 and 1.
To read about all aspects of trigonometry, you can click on Wikipedia's Trigonometric function page.