#ifndef IGL_REDRUM_H #define IGL_REDRUM_H // Q: These should probably be inside the igl namespace. What's the correct // way to do that? // A: I guess the right way is to not use a macro but a proper function with // streams as input and output. // ANSI color codes for formating iostream style output #ifdef IGL_REDRUM_NOOP // Bold Red, etc. #define NORUM(X) X #define REDRUM(X) X #define GREENRUM(X) X #define YELLOWRUM(X) X #define BLUERUM(X) X #define MAGENTARUM(X) X #define CYANRUM(X) X // Regular Red, etc. #define REDGIN(X) X #define GREENGIN(X) X #define YELLOWGIN(X) X #define BLUEGIN(X) X #define MAGENTAGIN(X) X #define CYANGIN(X) X #else // Bold Red, etc. #define NORUM(X) ""<