Fcos

Revision as of 20:52, 20 December 2016 by imported>Gribbleshnibit8 (Created page with "{{Function |origin = LU |summary = Returns the approximate cosine value of a float for faster calculation. See precision values below. |name = fcos |returnType = float |a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Lutana NVSE plugin.

Description

Returns the approximate cosine value of a float for faster calculation. See precision values below.

Syntax

(float) fcos value:float precision:int

Precision Flags

0 : fastest approximation (default)
1 : fast approximation, higher precision
2 : calls the ASM fsincos function for full precision (may not be faster than vanilla)


See Also