brillo-1.13.3: Painless 2D vector graphics, animations, and simulations powered by GLFW
Safe HaskellSafe-Inferred
LanguageGHC2021

Brillo.Geometry.Angle

Description

Geometric functions concerning angles. If not otherwise specified, all angles are in radians.

Synopsis

Documentation

degToRad :: Float -> Float Source #

Convert degrees to radians

radToDeg :: Float -> Float Source #

Convert radians to degrees

normalizeAngle :: Float -> Float Source #

Normalize an angle to be between 0 and 2*pi radians