public class Angle
Various utilities for working with angles.
public static Angle INSTANCE
Various utilities for working with angles.
@JvmStatic public static double norm(double angle)
Returns angle
clamped to [0, 2pi]
.
angle
- angle measure in radiansangle
@JvmStatic public static double normDelta(double angleDelta)
Returns angleDelta
clamped to [-pi, pi]
.
angleDelta
- angle delta in radiansangleDelta