Sin

From Eternity Wiki
Revision as of 15:25, 9 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Computes the sine of an angle. |usage=''fixed'' '''Sin'''(''fixed angle'') |parameters= *''angle'': fixed point angle |return=Sine of given angle. |notes=This is the classic Doom approximate sine, so expect similar artifacts when aiming for exact angles. |id=ACS internal}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Computes the sine of an angle.

Usage[edit]

fixed Sin(fixed angle)

Parameters[edit]

Return value[edit]

Sine of given angle.

Examples[edit]

No examples given.

Notes[edit]

This is the classic Doom approximate sine, so expect similar artifacts when aiming for exact angles.

This function's identification in zspecial.acs is: ACS internal.

See also[edit]