fromDouble

Creates a rotation from an angle in radians. Alias for exp.

Return

a Rotation2d representing a rotation by \(\theta\)

Parameters

theta

the angle in radians