Game dev
Saved & recent

Radians

Related terms: degrees, angle, trigonometry

A way to measure an angle using a circle. One radian turns through an arc as long as the radius. One full turn is 2π radians, and a half-turn is π, or 180 degrees.

Most programming-language sine and cosine functions expect radians. Check the units an engine API expects: passing 90 where it expects π/2 produces a very different rotation.

radians = degrees * pi / 180

Further reading
Khan Academy: Radians and the unit circle
1 rad r r arc length r arc laid flat
At one radian the arc has the same length as the radius. The reference segment shows that length laid flat.

View in the full Game dev collection