]> git.seodisparate.com - jumpartifact.com_demo_0/commitdiff
Fix error on Release build using Debug macros
authorStephen Seo <seo.disparate@gmail.com>
Wed, 30 Aug 2023 08:44:19 +0000 (17:44 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Wed, 30 Aug 2023 08:44:19 +0000 (17:44 +0900)
src/electricity_effect.cc

index 03b0615f7d15191394e928894743d8f42fcf2ca3..7af8b400be416345530e2e3ee6bd1204b1ddb6e7 100644 (file)
@@ -10,6 +10,9 @@
   do {                                                                   \
     std::cout << "Loading " << #f << " with value " << (f) << std::endl; \
   } while (false);
+#else
+#define DEBUG_PRINT_VEC2(v2)
+#define DEBUG_PRINT_FLOAT(f)
 #endif
 
 // standard library includes