From 73656370df30a97b79533190d6e7511934ea7861 Mon Sep 17 00:00:00 2001 From: Samuel Date: Mon, 10 Apr 2023 15:28:42 +0200 Subject: [PATCH] Suppression des warning M_PI --- Geometrie.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Geometrie.h b/Geometrie.h index d13fa64..9b529dc 100644 --- a/Geometrie.h +++ b/Geometrie.h @@ -1,6 +1,11 @@ #ifndef GEOMETRIE_H #define GEOMETRIE_H +#ifndef M_PI +#define M_PI (3.14159265358979323846) +#endif + + struct position_t{ double x_mm, y_mm; double angle_radian;