We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f789e3b commit 3fb0baaCopy full SHA for 3fb0baa
physics/ground_to_ground_projectile_motion.cpp
@@ -30,7 +30,7 @@ namespace ground_to_ground_projectile_motion {
30
* @param PI The definition of the constant PI
31
* @returns Angle in degrees
32
*/
33
-double degrees_to_radians(double radian, double PI = 3.14) {
+double degrees_to_radians(double radian, double PI = M_PI) {
34
return (radian * (PI / 180));
35
}
36
0 commit comments