Skip to content

Cos (RSDKv3)

Description

Gets the value from the cos512 lookup table based on Angle and sets it in Store.

Parameters

Store

The variable to store the result.

Angle

The value of angle.

Return Value

Sets Store to the result.

Syntax

Cos(var Store, int Angle)

Example

Cos(TempValue0, Object.Value2)