From 6ac479d04e71ed1494a62de693f459b43d2d5fec Mon Sep 17 00:00:00 2001 From: Nobuyuki Date: Mon, 3 Jun 2024 12:09:47 +0900 Subject: [PATCH] small --- task07/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/task07/main.cpp b/task07/main.cpp index 2611933..26fc6e0 100644 --- a/task07/main.cpp +++ b/task07/main.cpp @@ -13,6 +13,10 @@ #include "Eigen/Core" #include "Eigen/Geometry" +#ifndef M_PI +#define M_PI 3.14159265358979323846 +#endif + /** * ray - sphere intersection * @param ray_src