mirror of https://github.com/vitalif/openscad
Updated include guards to #pragma once
parent
6ed870b53a
commit
db19afcf80
|
@ -23,8 +23,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
#ifndef DRAWINGCALLBACK_H
|
||||
#define DRAWINGCALLBACK_H
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <math.h>
|
||||
|
@ -62,6 +61,3 @@ private:
|
|||
return pow(1.0 - t, exp);
|
||||
}
|
||||
};
|
||||
|
||||
#endif /* DRAWINGCALLBACK_H */
|
||||
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
#ifndef FONTCACHE_H
|
||||
#define FONTCACHE_H
|
||||
#pragma once
|
||||
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
@ -96,5 +95,3 @@ private:
|
|||
FT_Face find_face_in_path(std::string path, std::string font);
|
||||
};
|
||||
|
||||
#endif /* FONTCACHE_H */
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef FONTLISTDIALOG_H_
|
||||
#define FONTLISTDIALOG_H_
|
||||
#pragma once
|
||||
|
||||
#include <QStandardItemModel>
|
||||
|
||||
|
@ -19,5 +18,3 @@ public:
|
|||
private:
|
||||
QStandardItemModel *model;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -23,8 +23,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*/
|
||||
#ifndef FREETYPERENDERER_H
|
||||
#define FREETYPERENDERER_H
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -136,6 +135,3 @@ private:
|
|||
static int outline_conic_to_func(const FT_Vector *c1, const FT_Vector *to, void *user);
|
||||
static int outline_cubic_to_func(const FT_Vector *c1, const FT_Vector *c2, const FT_Vector *to, void *user);
|
||||
};
|
||||
|
||||
#endif /* FREETYPERENDERER_H */
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef GEOMETRY_H_
|
||||
#define GEOMETRY_H_
|
||||
#pragma once
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string>
|
||||
|
@ -29,5 +28,3 @@ public:
|
|||
protected:
|
||||
int convexity;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef GEOMETRYCACHE_H_
|
||||
#define GEOMETRYCACHE_H_
|
||||
#pragma once
|
||||
|
||||
#include "cache.h"
|
||||
#include "memory.h"
|
||||
|
@ -32,5 +31,3 @@ private:
|
|||
|
||||
Cache<std::string, cache_entry> cache;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef POLYGON2D_H_
|
||||
#define POLYGON2D_H_
|
||||
#pragma once
|
||||
|
||||
#include "Geometry.h"
|
||||
#include "linalg.h"
|
||||
|
@ -36,5 +35,3 @@ private:
|
|||
Outlines2d theoutlines;
|
||||
bool sanitized;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef CLIPPER_UTILS_H_
|
||||
#define CLIPPER_UTILS_H_
|
||||
#pragma once
|
||||
|
||||
#include "polyclipping/clipper.hpp"
|
||||
#include "Polygon2d.h"
|
||||
|
@ -20,5 +19,3 @@ namespace ClipperUtils {
|
|||
Polygon2d *apply(const std::vector<const Polygon2d*> &polygons, ClipperLib::ClipType);
|
||||
Polygon2d *apply(const std::vector<ClipperLib::Paths> &pathsvector, ClipperLib::ClipType);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef OFFSETNODE_H_
|
||||
#define OFFSETNODE_H_
|
||||
#pragma once
|
||||
|
||||
#include "node.h"
|
||||
#include "visitor.h"
|
||||
|
@ -19,5 +18,3 @@ public:
|
|||
double fn, fs, fa, delta, miter_limit;
|
||||
ClipperLib::JoinType join_type;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef POLYSET_UTILS_H_
|
||||
#define POLYSET_UTILS_H_
|
||||
#pragma once
|
||||
|
||||
class Polygon2d;
|
||||
class PolySet;
|
||||
|
@ -10,5 +9,3 @@ namespace PolysetUtils {
|
|||
void tessellate_faces(const PolySet &inps, PolySet &outps);
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#ifndef TEXTNODE_H_
|
||||
#define TEXTNODE_H_
|
||||
#pragma once
|
||||
|
||||
#include "node.h"
|
||||
#include "visitor.h"
|
||||
|
@ -28,5 +27,3 @@ private:
|
|||
FreetypeRenderer::Params params;
|
||||
friend TextModule;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue