# Tangent

Grammar — Tan(a)
FlagsNative | Function

Returns the tangent of an angle. The angle should be specified in degrees.

# Arguments

  • fixed — Angle

Returns — fixed

native fixed Tan(fixed degrees);

Category: Math / Trigonometry

# Examples

# mods/novastoryassets.sc2mod

MapScript.galaxy

// L4424
Tan((PointGetFacing(lv_targetWaypoints[lv_targetWaypointIndex]) + 90.0))
// L4424
Tan((PointGetFacing(lv_targetWaypoints[lv_targetWaypointIndex]) + 90.0))