mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpimath] Units: fix comment in degreesToRotations (NFC) (#4159)
This commit is contained in:
@@ -91,7 +91,7 @@ public final class Units {
|
||||
* Converts given degrees to rotations.
|
||||
*
|
||||
* @param degrees The degrees to convert.
|
||||
* @return rotations Converted from radians.
|
||||
* @return rotations Converted from degrees.
|
||||
*/
|
||||
public static double degreesToRotations(double degrees) {
|
||||
return degrees / 360;
|
||||
|
||||
Reference in New Issue
Block a user