Add missing pragma once on headers
This commit is contained in:
parent
4d944d0e75
commit
d1c3cbe498
5 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
class ImplicitSurface {
|
class ImplicitSurface {
|
||||||
public:
|
public:
|
||||||
virtual double operator() (double x, double y, double z);
|
virtual double operator() (double x, double y, double z);
|
||||||
|
|
2
Mesh.hpp
2
Mesh.hpp
|
@ -2,6 +2,8 @@
|
||||||
* Defines a mesh, ready to be OpenGL-rendered
|
* Defines a mesh, ready to be OpenGL-rendered
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <unordered_map>
|
#include <unordered_map>
|
||||||
#include <cstddef> // size_t
|
#include <cstddef> // size_t
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
* Defines a few widely used, widely spread structures. Imported pervasively.
|
* Defines a few widely used, widely spread structures. Imported pervasively.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <functional> // Hash
|
#include <functional> // Hash
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/** The most basic renderer — a stupid glut application */
|
/** The most basic renderer — a stupid glut application */
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include "../Mesh.hpp"
|
#include "../Mesh.hpp"
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
/** Parses .obj mesh files, outputting a `Mesh` */
|
/** Parses .obj mesh files, outputting a `Mesh` */
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
|
|
Loading…
Reference in a new issue