There was an error while loading. Please reload this page.
1 parent 986d181 commit b2d1aa6Copy full SHA for b2d1aa6
1 file changed
src/Processing_api.h
@@ -4,6 +4,10 @@
4
#pragma once
5
#include "Processing.h"
6
#include <string>
7
+// Suppress stdlib random() which conflicts with Processing random(float)
8
+#ifdef random
9
+# undef random
10
+#endif
11
12
// ── Math (static, no instance needed) ────────────────────────────────────────
13
inline float radians(float d) { return PApplet::radians(d); }
0 commit comments