gloss-1.5.0.1: Painless 2D vector graphics, animations and simulations.

Graphics.Gloss.Geometry.Angle

Description

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

Synopsis

Documentation

degToRad :: Float -> FloatSource

Convert degrees to radians

radToDeg :: Float -> FloatSource

Convert radians to degrees

normaliseAngle :: Float -> FloatSource

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