ProtoFlux:Cos

From Resonite Wiki
Revision as of 05:51, 26 May 2024 by Zyzyl (talk | contribs) (Fix link to Deg 2 Rad)
Cos
N
*
Trigonometry

The Cos node returns the Cosine of the input value.

Input values are treated as radians. If you want to use values in degrees, first multiply by the Deg 2 Rad node.

This node has the following variants:

Variants

Variant Node Type
Cos (Color) Cos_Color
Cos (ColorX) Cos_ColorX
Cos (double) Cos_Double
Cos (double2) Cos_Double2
Cos (double3) Cos_Double3
Cos (double4) Cos_Double4
Cos (float) Cos_Float
Cos (float2) Cos_Float2
Cos (float3) Cos_Float3
Cos (float4) Cos_Float4

Inputs

N (Pseudo-Generic)

Input value.

Outputs

* (Pseudo-Generic)

Cosine of N.