heebie
[vg.git] / vg_log.h
index 9f3ae9e0976c0a4bb62bba7dcb9affe2cefc159a..d30e7ba330bb827d9884a63c1acf05a53bebf477 100644 (file)
--- a/vg_log.h
+++ b/vg_log.h
 #define KCYN  "\x1B[36m"
 #define KWHT  "\x1B[37m"
 
+#define PRINTF_v2f( V2 ) "%.2f %.2f\n",           V2[0], V2[1]
+#define PRINTF_v3f( V3 ) "%.2f %.2f %.2f\n",      V3[0], V3[1], V3[2]
+#define PRINTF_v4f( V4 ) "%.2f %.2f %.2f %.2f\n", V4[0], V4[1], V4[2], V4[3]
+
 #ifdef VG_GAME
 static SDL_SpinLock log_print_sl;
 #endif