ref: c34dca177af8139fd3fc735036b0aa881c4ead1f
parent: 4f1fde5ba764c2a25f6f0653a77e301f1a368204
author: Iliyas Jorio <iliyas@jor.io>
date: Wed Feb 2 10:27:46 EST 2022
2022 compile fix
--- a/src/main.h
+++ b/src/main.h
@@ -236,7 +236,7 @@
#define kLastBlob kBlob7
#define kBlobTypes (kLastBlob - kFirstBlob + 1)
-#define pi M_PI
+constexpr double pi = M_PI;
#define arrsize(x) int(sizeof((x)) / sizeof((x)[0]))