Skip to content

Commit 80ff3bc

Browse files
committed
add PI
1 parent e1d6d2c commit 80ff3bc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

roboticstoolbox/core/linalg.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ extern "C"
1616
#endif /* __cplusplus */
1717

1818
#define PI_2 1.57079632679489661923132169163975144
19+
#define PI 3.14159265358979323846264338327950288
20+
#define PI_x2 6.283185307179586
1921

2022
#define Matrix3dc Eigen::Matrix3d
2123

0 commit comments

Comments
 (0)