Former-commit-id: bc138a55d45cd923b88e04a7fc6a1a9892684798
@@ -1,5 +1,5 @@
-#ifndef IGL_GL_TYPE_SIZE
-#define IGL_GL_TYPE_SIZE
+#ifndef IGL_GL_TYPE_SIZE_H
+#define IGL_GL_TYPE_SIZE_H
#if __APPLE__
# include <OpenGL/gl.h>
-#ifndef IGL_LIMIT_FACES
-#define IGL_LIMIT_FACES
+#ifndef IGL_LIMIT_FACES_H
+#define IGL_LIMIT_FACES_H
namespace igl
{
// LIMIT_FACES limit given faces F to those which contain (only) indices found
@@ -6,8 +6,8 @@
// Copyright (c) 2011 __MyCompanyName__. All rights reserved.
//
-#ifndef IGL_MOVEFV_h
-#define IGL_MOVEFV_h
+#ifndef IGL_MOVEFV_H
+#define IGL_MOVEFV_H
-#ifndef IGL_POINT_IN_CIRCLE
-#define IGL_POINT_IN_CIRCLE
+#ifndef IGL_POINT_IN_CIRCLE_H
+#define IGL_POINT_IN_CIRCLE_H
@@ -118,3 +118,7 @@ description of each template, input and output in each prototype.
grep -l "^using namespace" *.cpp
+ Find .h files that contain ifndef IGL_*[^H]
+
+ grep -l "ifndef IGL_.*[^H] *$" *
-#ifndef IGL_REPORT_GL_ERROR
-#define IGL_REPORT_GL_ERROR
+#ifndef IGL_REPORT_GL_ERROR_H
+#define IGL_REPORT_GL_ERROR_H
#ifdef __APPLE__
-#ifndef IGL_STDIN_TO_TEMP
-#define IGL_STDIN_TO_TEMP
+#ifndef IGL_STDIN_TO_TEMP_H
+#define IGL_STDIN_TO_TEMP_H
#include <cstdio>
-#ifndef IGL_TEXTURE_FROM_TGA
-#define IGL_TEXTURE_FROM_TGA
+#ifndef IGL_TEXTURE_FROM_TGA_H
+#define IGL_TEXTURE_FROM_TGA_H
-#ifndef IGL_TRANSPOSE_BLOCKS
-#define IGL_TRANSPOSE_BLOCKS
+#ifndef IGL_TRANSPOSE_BLOCKS_H
+#define IGL_TRANSPOSE_BLOCKS_H
#include <Eigen/Core>
-#ifndef IGL_UNIFORM_TYPE_TO_STRING
-#define IGL_UNIFORM_TYPE_TO_STRING
+#ifndef IGL_UNIFORM_TYPE_TO_STRING_H
+#define IGL_UNIFORM_TYPE_TO_STRING_H
#include <string>