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

Sin

From FenixWiki

Revision as of 00:48, 8 June 2007 by 130.89.160.132 (Talk)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search


Contents

Definition

FLOAT sin ( <FLOAT angle> )

Returns the sine of the specified angle.

This function performs a sine 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 sine 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.

Personal tools