ProtoFlux:Tan: Difference between revisions

From Resonite Wiki
m Fix output name
Fix link to Deg 2 Rad
Line 14: Line 14:
The '''Tan''' node returns the [https://en.wikipedia.org/wiki/Trigonometric_functions#tangent| Tangent] of the input value.
The '''Tan''' node returns the [https://en.wikipedia.org/wiki/Trigonometric_functions#tangent| Tangent] of the input value.


{{Template:Note|Input values are treated as [https://en.wikipedia.org/wiki/Radian radians]. If you want to use values in degrees, first multiply by the [[ProtoFlux:DegToRad | DegToRad]] node.|suggestion}}
{{Template:Note|Input values are treated as [https://en.wikipedia.org/wiki/Radian radians]. If you want to use values in degrees, first multiply by the [[ProtoFlux:Deg_2_Rad | Deg 2 Rad]] node.|suggestion}}


This node has the following variants:
This node has the following variants:

Revision as of 05:52, 26 May 2024

Tan
N
*
Trigonometry

The Tan node returns the Tangent 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
Tan (Color) Tan_Color
Tan (ColorX) Tan_ColorX
Tan (double) Tan_Double
Tan (double2) Tan_Double2
Tan (double3) Tan_Double3
Tan (double4) Tan_Double4
Tan (float) Tan_Float
Tan (float2) Tan_Float2
Tan (float3) Tan_Float3
Tan (float4) Tan_Float4

Inputs

N (Pseudo-Generic)

Input value.

Outputs

* (Pseudo-Generic)

Tangent of N.