Cos

From Fancade Wiki
Revision as of 14:42, 17 May 2024 by Osmo (talk | contribs) (Updated and revisited the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Cos
Cos.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Num
Outputs Cos(Num)

Computes the cosine of an angle in degrees.

Similar to the function Sin but instead, the output value starts from 1. Outputs a value between 1 and -1 depending on the given input, which represents an angle (0°–360°).