Use pragma once instead of include guards

This commit is contained in:
Michaël Lemaire 2016-07-12 19:40:45 +02:00
parent 6b805459e8
commit e884d7a216
160 changed files with 160 additions and 639 deletions

View file

@ -1,5 +1,4 @@
#ifndef BOUNDINGBOX_H #pragma once
#define BOUNDINGBOX_H
#include "basics_global.h" #include "basics_global.h"
@ -24,5 +23,3 @@ class BASICSSHARED_EXPORT BoundingBox {
}; };
} }
} }
#endif // BOUNDINGBOX_H

View file

@ -1,5 +1,4 @@
#ifndef CAPPEDCYLINDER_H #pragma once
#define CAPPEDCYLINDER_H
#include "basics_global.h" #include "basics_global.h"
@ -42,5 +41,3 @@ class BASICSSHARED_EXPORT CappedCylinder : public InfiniteCylinder {
}; };
} }
} }
#endif // CAPPEDCYLINDER_H

View file

@ -1,5 +1,4 @@
#ifndef COLOR_H #pragma once
#define COLOR_H
#include "basics_global.h" #include "basics_global.h"
@ -65,5 +64,3 @@ BASICSSHARED_EXPORT extern const Color COLOR_WHITE;
BASICSSHARED_EXPORT extern const Color COLOR_GREY; BASICSSHARED_EXPORT extern const Color COLOR_GREY;
} }
} }
#endif // COLOR_H

View file

@ -1,5 +1,4 @@
#ifndef COLORHSL_H #pragma once
#define COLORHSL_H
#include "basics_global.h" #include "basics_global.h"
@ -14,5 +13,3 @@ BASICSSHARED_EXPORT Color colorFromHSL(const ColorHSL &col);
BASICSSHARED_EXPORT ColorHSL colorToHSL(const Color &col); BASICSSHARED_EXPORT ColorHSL colorToHSL(const Color &col);
BASICSSHARED_EXPORT ColorHSL colorHSLFromValues(double h, double s, double l, double a); BASICSSHARED_EXPORT ColorHSL colorHSLFromValues(double h, double s, double l, double a);
#endif // COLORHSL_H

View file

@ -1,5 +1,4 @@
#ifndef CURVE_H #pragma once
#define CURVE_H
#include "basics_global.h" #include "basics_global.h"
@ -43,5 +42,3 @@ class BASICSSHARED_EXPORT Curve {
}; };
} }
} }
#endif // CURVE_H

View file

@ -1,5 +1,4 @@
#ifndef DISK_H #pragma once
#define DISK_H
#include "basics_global.h" #include "basics_global.h"
@ -38,5 +37,3 @@ class BASICSSHARED_EXPORT Disk : public InfinitePlane {
}; };
} }
} }
#endif // DISK_H

View file

@ -1,5 +1,4 @@
#ifndef FRACTALNOISE_H #pragma once
#define FRACTALNOISE_H
#include "basics_global.h" #include "basics_global.h"
@ -83,5 +82,3 @@ class BASICSSHARED_EXPORT FractalNoise {
}; };
} }
} }
#endif // FRACTALNOISE_H

View file

@ -1,5 +1,4 @@
#ifndef GEOMETRY_H #pragma once
#define GEOMETRY_H
#include "basics_global.h" #include "basics_global.h"
@ -16,5 +15,3 @@ class BASICSSHARED_EXPORT Geometry {
}; };
} }
} }
#endif // GEOMETRY_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITECYLINDER_H #pragma once
#define INFINITECYLINDER_H
#include "basics_global.h" #include "basics_global.h"
@ -52,5 +51,3 @@ class BASICSSHARED_EXPORT InfiniteCylinder {
}; };
} }
} }
#endif // INFINITECYLINDER_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITEPLANE_H #pragma once
#define INFINITEPLANE_H
#include "basics_global.h" #include "basics_global.h"
@ -41,5 +40,3 @@ class BASICSSHARED_EXPORT InfinitePlane {
}; };
} }
} }
#endif // INFINITEPLANE_H

View file

@ -1,5 +1,4 @@
#ifndef INFINITERAY_H #pragma once
#define INFINITERAY_H
#include "basics_global.h" #include "basics_global.h"
@ -41,5 +40,3 @@ class BASICSSHARED_EXPORT InfiniteRay {
}; };
} }
} }
#endif // INFINITERAY_H

View file

@ -1,5 +1,4 @@
#ifndef INTERPOLATION_H #pragma once
#define INTERPOLATION_H
#include "basics_global.h" #include "basics_global.h"
@ -23,5 +22,3 @@ class BASICSSHARED_EXPORT Interpolation {
}; };
} }
} }
#endif // INTERPOLATION_H

View file

@ -1,5 +1,4 @@
#ifndef MATHS_H #pragma once
#define MATHS_H
#include "basics_global.h" #include "basics_global.h"
@ -40,5 +39,3 @@ class BASICSSHARED_EXPORT Maths {
}; };
} }
} }
#endif // MATHS_H

View file

@ -1,5 +1,4 @@
#ifndef MATRIX4_H #pragma once
#define MATRIX4_H
#include "basics_global.h" #include "basics_global.h"
@ -103,5 +102,3 @@ class BASICSSHARED_EXPORT Matrix4 {
}; };
} }
} }
#endif // MATRIX4_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEFUNCTIONPERLIN_H #pragma once
#define NOISEFUNCTIONPERLIN_H
#include "basics_global.h" #include "basics_global.h"
@ -17,5 +16,3 @@ double noisePerlinGet1DValue(double x);
double noisePerlinGet2DValue(double x, double y); double noisePerlinGet2DValue(double x, double y);
double noisePerlinGet3DValue(double x, double y, double z); double noisePerlinGet3DValue(double x, double y, double z);
/*double noiseSimplexGet4DValue(double x, double y, double z, double w);*/ /*double noiseSimplexGet4DValue(double x, double y, double z, double w);*/
#endif // NOISEFUNCTIONPERLIN_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEFUNCTIONSIMPLEX_H #pragma once
#define NOISEFUNCTIONSIMPLEX_H
#include "basics_global.h" #include "basics_global.h"
@ -23,5 +22,3 @@ double noiseSimplexGet1DValue(double x);
double noiseSimplexGet2DValue(double x, double y); double noiseSimplexGet2DValue(double x, double y);
double noiseSimplexGet3DValue(double x, double y, double z); double noiseSimplexGet3DValue(double x, double y, double z);
double noiseSimplexGet4DValue(double x, double y, double z, double w); double noiseSimplexGet4DValue(double x, double y, double z, double w);
#endif // NOISEFUNCTIONSIMPLEX_H

View file

@ -1,5 +1,4 @@
#ifndef NOISEGENERATOR_H #pragma once
#define NOISEGENERATOR_H
#include "basics_global.h" #include "basics_global.h"
@ -90,5 +89,3 @@ class BASICSSHARED_EXPORT NoiseGenerator {
}; };
} }
} }
#endif // NOISEGENERATOR_H

View file

@ -1,5 +1,4 @@
#ifndef NOISESTATE_H #pragma once
#define NOISESTATE_H
#include "basics_global.h" #include "basics_global.h"
@ -42,5 +41,3 @@ class BASICSSHARED_EXPORT NoiseState {
}; };
} }
} }
#endif // NOISESTATE_H

View file

@ -1,5 +1,4 @@
#ifndef SPACEGRIDITERATOR_H #pragma once
#define SPACEGRIDITERATOR_H
#include "basics_global.h" #include "basics_global.h"
@ -24,5 +23,3 @@ class BASICSSHARED_EXPORT SpaceGridIterator {
}; };
} }
} }
#endif // SPACEGRIDITERATOR_H

View file

@ -1,5 +1,4 @@
#ifndef SPACESEGMENT_H #pragma once
#define SPACESEGMENT_H
#include "basics_global.h" #include "basics_global.h"
@ -89,5 +88,3 @@ class BASICSSHARED_EXPORT SpaceSegment {
}; };
} }
} }
#endif // SPACESEGMENT_H

View file

@ -1,5 +1,4 @@
#ifndef SPHERE_H #pragma once
#define SPHERE_H
#include "basics_global.h" #include "basics_global.h"
@ -47,5 +46,3 @@ class BASICSSHARED_EXPORT Sphere {
}; };
} }
} }
#endif // SPHERE_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE2D_H #pragma once
#define TEXTURE2D_H
#include "basics_global.h" #include "basics_global.h"
@ -32,5 +31,3 @@ class BASICSSHARED_EXPORT Texture2D {
}; };
} }
} }
#endif // TEXTURE2D_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE3D_H #pragma once
#define TEXTURE3D_H
#include "basics_global.h" #include "basics_global.h"
@ -33,5 +32,3 @@ class BASICSSHARED_EXPORT Texture3D {
}; };
} }
} }
#endif // TEXTURE3D_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURE4D_H #pragma once
#define TEXTURE4D_H
#include "basics_global.h" #include "basics_global.h"
@ -34,5 +33,3 @@ class BASICSSHARED_EXPORT Texture4D {
}; };
} }
} }
#endif // TEXTURE4D_H

View file

@ -1,5 +1,4 @@
#ifndef VECTOR3_H #pragma once
#define VECTOR3_H
#include "basics_global.h" #include "basics_global.h"
@ -106,5 +105,3 @@ BASICSSHARED_EXPORT extern const Vector3 VECTOR_EAST;
BASICSSHARED_EXPORT extern const Vector3 VECTOR_WEST; BASICSSHARED_EXPORT extern const Vector3 VECTOR_WEST;
} }
} }
#endif // VECTOR3_H

View file

@ -1,5 +1,4 @@
#ifndef BASICS_GLOBAL_H #pragma once
#define BASICS_GLOBAL_H
#include "system_global.h" #include "system_global.h"
@ -33,5 +32,3 @@ class InfinitePlane;
} }
} }
using namespace paysages::basics; using namespace paysages::basics;
#endif // BASICS_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREDEFINITION_H #pragma once
#define ATMOSPHEREDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -86,5 +85,3 @@ class DEFINITIONSHARED_EXPORT AtmosphereDefinition : public DefinitionNode {
}; };
} }
} }
#endif // ATMOSPHEREDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CAMERADEFINITION_H #pragma once
#define CAMERADEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -112,5 +111,3 @@ class DEFINITIONSHARED_EXPORT CameraDefinition : public DefinitionNode {
}; };
} }
} }
#endif // CAMERADEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CELESTIALBODYDEFINITION_H #pragma once
#define CELESTIALBODYDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -55,5 +54,3 @@ class DEFINITIONSHARED_EXPORT CelestialBodyDefinition : public DefinitionNode {
}; };
} }
} }
#endif // CELESTIALBODYDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CLOUDLAYERDEFINITION_H #pragma once
#define CLOUDLAYERDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -62,5 +61,3 @@ class DEFINITIONSHARED_EXPORT CloudLayerDefinition : public DefinitionNode {
}; };
} }
} }
#endif // CLOUDLAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef CLOUDSDEFINITION_H #pragma once
#define CLOUDSDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -21,5 +20,3 @@ class DEFINITIONSHARED_EXPORT CloudsDefinition : public Layers {
}; };
} }
} }
#endif // CLOUDSDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef COLORDIFF_H #pragma once
#define COLORDIFF_H
#include "definition_global.h" #include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT ColorDiff : public DefinitionDiff {
}; };
} }
} }
#endif // COLORDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef COLORNODE_H #pragma once
#define COLORNODE_H
#include "definition_global.h" #include "definition_global.h"
@ -40,5 +39,3 @@ class DEFINITIONSHARED_EXPORT ColorNode : public DefinitionNode {
}; };
} }
} }
#endif // COLORNODE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONDIFF_H #pragma once
#define DEFINITIONDIFF_H
#include "definition_global.h" #include "definition_global.h"
@ -39,5 +38,3 @@ class DEFINITIONSHARED_EXPORT DefinitionDiff {
}; };
} }
} }
#endif // DEFINITIONDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONNODE_H #pragma once
#define DEFINITIONNODE_H
#include "definition_global.h" #include "definition_global.h"
@ -132,5 +131,3 @@ class DEFINITIONSHARED_EXPORT DefinitionNode {
}; };
} }
} }
#endif // DEFINITIONNODE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITIONWATCHER_H #pragma once
#define DEFINITIONWATCHER_H
#include "definition_global.h" #include "definition_global.h"
@ -63,5 +62,3 @@ class DEFINITIONSHARED_EXPORT DefinitionWatcher {
}; };
} }
} }
#endif // DEFINITIONWATCHER_H

View file

@ -1,5 +1,4 @@
#ifndef DIFFMANAGER_H #pragma once
#define DIFFMANAGER_H
#include "definition_global.h" #include "definition_global.h"
@ -70,5 +69,3 @@ class DEFINITIONSHARED_EXPORT DiffManager {
}; };
} }
} }
#endif // DIFFMANAGER_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATDIFF_H #pragma once
#define FLOATDIFF_H
#include "definition_global.h" #include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT FloatDiff : public DefinitionDiff {
}; };
} }
} }
#endif // FLOATDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATNODE_H #pragma once
#define FLOATNODE_H
#include "definition_global.h" #include "definition_global.h"
@ -41,5 +40,3 @@ class DEFINITIONSHARED_EXPORT FloatNode : public DefinitionNode {
}; };
} }
} }
#endif // FLOATNODE_H

View file

@ -1,5 +1,4 @@
#ifndef GODRAYSDEFINITION_H #pragma once
#define GODRAYSDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -29,5 +28,3 @@ class DEFINITIONSHARED_EXPORT GodRaysDefinition : public DefinitionNode {
}; };
} }
} }
#endif // GODRAYSDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef INTDIFF_H #pragma once
#define INTDIFF_H
#include "definition_global.h" #include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT IntDiff : public DefinitionDiff {
}; };
} }
} }
#endif // INTDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef INTNODE_H #pragma once
#define INTNODE_H
#include "definition_global.h" #include "definition_global.h"
@ -39,5 +38,3 @@ class DEFINITIONSHARED_EXPORT IntNode : public DefinitionNode {
}; };
} }
} }
#endif // INTNODE_H

View file

@ -1,5 +1,4 @@
#ifndef LAYERS_H #pragma once
#define LAYERS_H
#include "definition_global.h" #include "definition_global.h"
@ -73,5 +72,3 @@ class DEFINITIONSHARED_EXPORT Layers : public DefinitionNode {
}; };
} }
} }
#endif // LAYERS_H

View file

@ -1,5 +1,4 @@
#ifndef LAYERSDIFF_H #pragma once
#define LAYERSDIFF_H
#include "definition_global.h" #include "definition_global.h"
@ -46,5 +45,3 @@ class DEFINITIONSHARED_EXPORT LayersDiff : public DefinitionDiff {
}; };
} }
} }
#endif // LAYERSDIFF_H

View file

@ -1,5 +1,4 @@
#ifndef MATERIALNODE_H #pragma once
#define MATERIALNODE_H
#include "definition_global.h" #include "definition_global.h"
@ -59,5 +58,3 @@ class DEFINITIONSHARED_EXPORT MaterialNode : public DefinitionNode {
}; };
} }
} }
#endif // MATERIALNODE_H

View file

@ -1,5 +1,4 @@
#ifndef NOISENODE_H #pragma once
#define NOISENODE_H
#include "definition_global.h" #include "definition_global.h"
@ -50,5 +49,3 @@ class DEFINITIONSHARED_EXPORT NoiseNode : public DefinitionNode {
}; };
} }
} }
#endif // NOISENODE_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRID_H #pragma once
#define PAINTEDGRID_H
#include "definition_global.h" #include "definition_global.h"
@ -89,5 +88,3 @@ class DEFINITIONSHARED_EXPORT PaintedGrid : public DefinitionNode {
}; };
} }
} }
#endif // PAINTEDGRID_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRIDBRUSH_H #pragma once
#define PAINTEDGRIDBRUSH_H
#include "definition_global.h" #include "definition_global.h"
@ -98,5 +97,3 @@ class DEFINITIONSHARED_EXPORT PaintedGridBrushFlatten : public PaintedGridBrush
}; };
} }
} }
#endif // PAINTEDGRIDBRUSH_H

View file

@ -1,5 +1,4 @@
#ifndef PAINTEDGRIDDATA_H #pragma once
#define PAINTEDGRIDDATA_H
#include "definition_global.h" #include "definition_global.h"
@ -48,5 +47,3 @@ class PaintedGridData {
}; };
} }
} }
#endif // PAINTEDGRIDDATA_H

View file

@ -1,5 +1,4 @@
#ifndef SCENERY_H #pragma once
#define SCENERY_H
#include "definition_global.h" #include "definition_global.h"
@ -126,5 +125,3 @@ class DEFINITIONSHARED_EXPORT Scenery : public DefinitionNode {
}; };
} }
} }
#endif // SCENERY_H

View file

@ -1,5 +1,4 @@
#ifndef SURFACEMATERIAL_H #pragma once
#define SURFACEMATERIAL_H
#include "definition_global.h" #include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT SurfaceMaterial {
}; };
} }
} }
#endif // SURFACEMATERIAL_H

View file

@ -1,5 +1,4 @@
#ifndef TERRAINDEFINITION_H #pragma once
#define TERRAINDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -57,5 +56,3 @@ class DEFINITIONSHARED_EXPORT TerrainDefinition : public DefinitionNode {
}; };
} }
} }
#endif // TERRAINDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TERRAINHEIGHTMAP_H #pragma once
#define TERRAINHEIGHTMAP_H
#include "definition_global.h" #include "definition_global.h"
@ -36,5 +35,3 @@ class DEFINITIONSHARED_EXPORT TerrainHeightMap : public PaintedGrid {
}; };
} }
} }
#endif // TERRAINHEIGHTMAP_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURELAYERDEFINITION_H #pragma once
#define TEXTURELAYERDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -58,5 +57,3 @@ class DEFINITIONSHARED_EXPORT TextureLayerDefinition : public DefinitionNode {
}; };
} }
} }
#endif // TEXTURELAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TEXTURESDEFINITION_H #pragma once
#define TEXTURESDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -23,5 +22,3 @@ class DEFINITIONSHARED_EXPORT TexturesDefinition : public Layers {
}; };
} }
} }
#endif // TEXTURESDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef TIMEMANAGER_H #pragma once
#define TIMEMANAGER_H
#include "definition_global.h" #include "definition_global.h"
@ -31,5 +30,3 @@ class DEFINITIONSHARED_EXPORT TimeManager {
}; };
} }
} }
#endif // TIMEMANAGER_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONDEFINITION_H #pragma once
#define VEGETATIONDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -32,5 +31,3 @@ class DEFINITIONSHARED_EXPORT VegetationDefinition : public Layers {
}; };
} }
} }
#endif // VEGETATIONDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONINSTANCE_H #pragma once
#define VEGETATIONINSTANCE_H
#include "definition_global.h" #include "definition_global.h"
@ -41,5 +40,3 @@ class DEFINITIONSHARED_EXPORT VegetationInstance {
}; };
} }
} }
#endif // VEGETATIONINSTANCE_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONLAYERDEFINITION_H #pragma once
#define VEGETATIONLAYERDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -40,5 +39,3 @@ class DEFINITIONSHARED_EXPORT VegetationLayerDefinition : public DefinitionNode
}; };
} }
} }
#endif // VEGETATIONLAYERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONMODELDEFINITION_H #pragma once
#define VEGETATIONMODELDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -56,5 +55,3 @@ class DEFINITIONSHARED_EXPORT VegetationModelDefinition : public DefinitionNode
}; };
} }
} }
#endif // VEGETATIONMODELDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef VEGETATIONPRESENCEDEFINITION_H #pragma once
#define VEGETATIONPRESENCEDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -36,5 +35,3 @@ class DEFINITIONSHARED_EXPORT VegetationPresenceDefinition : public DefinitionNo
}; };
} }
} }
#endif // VEGETATIONPRESENCEDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef WATERDEFINITION_H #pragma once
#define WATERDEFINITION_H
#include "definition_global.h" #include "definition_global.h"
@ -67,5 +66,3 @@ class DEFINITIONSHARED_EXPORT WaterDefinition : public DefinitionNode {
}; };
} }
} }
#endif // WATERDEFINITION_H

View file

@ -1,5 +1,4 @@
#ifndef ZONE_H #pragma once
#define ZONE_H
#include "definition_global.h" #include "definition_global.h"
@ -44,5 +43,3 @@ class DEFINITIONSHARED_EXPORT Zone : public DefinitionNode {
}; };
} }
} }
#endif // ZONE_H

View file

@ -1,5 +1,4 @@
#ifndef DEFINITION_GLOBAL_H #pragma once
#define DEFINITION_GLOBAL_H
#include "basics_global.h" #include "basics_global.h"
@ -56,5 +55,3 @@ class TimeManager;
} }
} }
using namespace paysages::definition; using namespace paysages::definition;
#endif // DEFINITION_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREMODELER_H #pragma once
#define ATMOSPHEREMODELER_H
#include "modeler_global.h" #include "modeler_global.h"
@ -17,5 +16,3 @@ class AtmosphereModeler : public BaseModelerTool {
}; };
} }
} }
#endif // ATMOSPHEREMODELER_H

View file

@ -1,5 +1,4 @@
#ifndef BASEMODELERTOOL_H #pragma once
#define BASEMODELERTOOL_H
#include "modeler_global.h" #include "modeler_global.h"
@ -47,5 +46,3 @@ class BaseModelerTool : protected DefinitionWatcher {
}; };
} }
} }
#endif // BASEMODELERTOOL_H

View file

@ -1,5 +1,4 @@
#ifndef FLOATPROPERTYBIND_H #pragma once
#define FLOATPROPERTYBIND_H
#include "modeler_global.h" #include "modeler_global.h"
@ -33,5 +32,3 @@ class FloatPropertyBind : public QObject, public DefinitionWatcher {
}; };
} }
} }
#endif // FLOATPROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef INTPROPERTYBIND_H #pragma once
#define INTPROPERTYBIND_H
#include "modeler_global.h" #include "modeler_global.h"
@ -32,4 +31,3 @@ class IntPropertyBind : public QObject, public DefinitionWatcher {
}; };
} }
} }
#endif // INTPROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef MAINMODELERWINDOW_H #pragma once
#define MAINMODELERWINDOW_H
#include "modeler_global.h" #include "modeler_global.h"
@ -57,5 +56,3 @@ class MainModelerWindow : public QQuickView {
}; };
} }
} }
#endif // MAINMODELERWINDOW_H

View file

@ -1,5 +1,4 @@
#ifndef MODELERCAMERAS_H #pragma once
#define MODELERCAMERAS_H
#include "modeler_global.h" #include "modeler_global.h"
@ -77,5 +76,3 @@ class ModelerCameras : public QObject, public DefinitionWatcher {
}; };
} }
} }
#endif // MODELERCAMERAS_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVIEW_H #pragma once
#define OPENGLVIEW_H
#include "modeler_global.h" #include "modeler_global.h"
@ -46,5 +45,3 @@ class OpenGLView : public QQuickItem {
}; };
} }
} }
#endif // OPENGLVIEW_H

View file

@ -1,5 +1,4 @@
#ifndef PROPERTYBIND_H #pragma once
#define PROPERTYBIND_H
#include <QObject> #include <QObject>
@ -12,5 +11,3 @@ class PropertyBind : public QObject {
public slots: public slots:
}; };
#endif // PROPERTYBIND_H

View file

@ -1,5 +1,4 @@
#ifndef RENDERPREVIEWPROVIDER_H #pragma once
#define RENDERPREVIEWPROVIDER_H
#include "modeler_global.h" #include "modeler_global.h"
@ -52,5 +51,3 @@ class RenderPreviewProvider : public QQuickImageProvider, public CanvasLiveClien
}; };
} }
} }
#endif // RENDERPREVIEWPROVIDER_H

View file

@ -1,5 +1,4 @@
#ifndef RENDERPROCESS_H #pragma once
#define RENDERPROCESS_H
#include "modeler_global.h" #include "modeler_global.h"
@ -73,5 +72,3 @@ class RenderProcess : public QObject {
}; };
} }
} }
#endif // RENDERPROCESS_H

View file

@ -1,5 +1,4 @@
#ifndef WATERMODELER_H #pragma once
#define WATERMODELER_H
#include "modeler_global.h" #include "modeler_global.h"
@ -19,5 +18,3 @@ class WaterModeler : public QObject, public BaseModelerTool {
}; };
} }
} }
#endif // WATERMODELER_H

View file

@ -1,5 +1,4 @@
#ifndef MODELER_GLOBAL_H #pragma once
#define MODELER_GLOBAL_H
#include "definition_global.h" #include "definition_global.h"
#include "software_global.h" #include "software_global.h"
@ -26,5 +25,3 @@ class IntPropertyBind;
} }
using namespace paysages::modeler; using namespace paysages::modeler;
#endif // MODELER_GLOBAL_H

View file

@ -1,9 +1,6 @@
#ifndef OPENGLFUNCTIONS #pragma once
#define OPENGLFUNCTIONS
#include "opengl_global.h" #include "opengl_global.h"
#define _OPENGL_FUNCTIONS_INCLUDE <OpenGLFunctions> #define _OPENGL_FUNCTIONS_INCLUDE <OpenGLFunctions>
#include _OPENGL_FUNCTIONS_INCLUDE #include _OPENGL_FUNCTIONS_INCLUDE
#endif // OPENGLFUNCTIONS

View file

@ -1,5 +1,4 @@
#ifndef OPENGLPART_H #pragma once
#define OPENGLPART_H
#include "opengl_global.h" #include "opengl_global.h"
@ -83,5 +82,3 @@ class OPENGLSHARED_EXPORT OpenGLPart : protected DefinitionWatcher {
}; };
} }
} }
#endif // OPENGLPART_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLRENDERER_H #pragma once
#define OPENGLRENDERER_H
#include "opengl_global.h" #include "opengl_global.h"
@ -149,5 +148,3 @@ class OPENGLSHARED_EXPORT OpenGLRenderer : public SoftwareRenderer {
}; };
} }
} }
#endif // OPENGLRENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSHADERPROGRAM_H #pragma once
#define OPENGLSHADERPROGRAM_H
#include "opengl_global.h" #include "opengl_global.h"
@ -86,5 +85,3 @@ class OPENGLSHARED_EXPORT OpenGLShaderProgram {
}; };
} }
} }
#endif // OPENGLSHADERPROGRAM_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSHAREDSTATE_H #pragma once
#define OPENGLSHAREDSTATE_H
#include "opengl_global.h" #include "opengl_global.h"
@ -71,5 +70,3 @@ class OPENGLSHARED_EXPORT OpenGLSharedState {
}; };
} }
} }
#endif // OPENGLSHAREDSTATE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLSKYBOX_H #pragma once
#define OPENGLSKYBOX_H
#include "opengl_global.h" #include "opengl_global.h"
@ -27,5 +26,3 @@ class OPENGLSHARED_EXPORT OpenGLSkybox : public OpenGLPart {
}; };
} }
} }
#endif // OPENGLSKYBOX_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLTERRAIN_H #pragma once
#define OPENGLTERRAIN_H
#include "opengl_global.h" #include "opengl_global.h"
@ -46,5 +45,3 @@ class OPENGLSHARED_EXPORT OpenGLTerrain : public OpenGLPart {
}; };
} }
} }
#endif // OPENGLTERRAIN_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLTERRAINCHUNK_H #pragma once
#define OPENGLTERRAINCHUNK_H
#include "opengl_global.h" #include "opengl_global.h"
@ -93,5 +92,3 @@ class OPENGLSHARED_EXPORT OpenGLTerrainChunk {
}; };
} }
} }
#endif // OPENGLTERRAINCHUNK_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVARIABLE_H #pragma once
#define OPENGLVARIABLE_H
#include "opengl_global.h" #include "opengl_global.h"
@ -58,5 +57,3 @@ class OPENGLSHARED_EXPORT OpenGLVariable final {
}; };
} }
} }
#endif // OPENGLVARIABLE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATION_H #pragma once
#define OPENGLVEGETATION_H
#include "opengl_global.h" #include "opengl_global.h"
@ -85,5 +84,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetation : public OpenGLPart {
}; };
} }
} }
#endif // OPENGLVEGETATION_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONIMPOSTOR_H #pragma once
#define OPENGLVEGETATIONIMPOSTOR_H
#include "opengl_global.h" #include "opengl_global.h"
@ -45,5 +44,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationImpostor {
}; };
} }
} }
#endif // OPENGLVEGETATIONIMPOSTOR_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONINSTANCE_H #pragma once
#define OPENGLVEGETATIONINSTANCE_H
#include "opengl_global.h" #include "opengl_global.h"
@ -39,5 +38,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationInstance {
}; };
} }
} }
#endif // OPENGLVEGETATIONINSTANCE_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVEGETATIONLAYER_H #pragma once
#define OPENGLVEGETATIONLAYER_H
#include "opengl_global.h" #include "opengl_global.h"
@ -92,5 +91,3 @@ class OPENGLSHARED_EXPORT OpenGLVegetationLayer {
}; };
} }
} }
#endif // OPENGLVEGETATIONLAYER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLVERTEXARRAY_H #pragma once
#define OPENGLVERTEXARRAY_H
#include "opengl_global.h" #include "opengl_global.h"
@ -90,5 +89,3 @@ class OPENGLSHARED_EXPORT OpenGLVertexArray {
}; };
} }
} }
#endif // OPENGLVERTEXARRAY_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGLWATER_H #pragma once
#define OPENGLWATER_H
#include "opengl_global.h" #include "opengl_global.h"
@ -32,5 +31,3 @@ class OPENGLSHARED_EXPORT OpenGLWater : public OpenGLPart {
}; };
} }
} }
#endif // OPENGLWATER_H

View file

@ -1,5 +1,4 @@
#ifndef OPENGL_GLOBAL_H #pragma once
#define OPENGL_GLOBAL_H
#include "software_global.h" #include "software_global.h"
@ -34,5 +33,3 @@ using namespace paysages::opengl;
#define OPENGL_MAJOR_VERSION 3 #define OPENGL_MAJOR_VERSION 3
#define OPENGL_MINOR_VERSION 3 #define OPENGL_MINOR_VERSION 3
class OpenGLFunctions; class OpenGLFunctions;
#endif // OPENGL_GLOBAL_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHEREMODELBRUNETON_H #pragma once
#define ATMOSPHEREMODELBRUNETON_H
#include "software_global.h" #include "software_global.h"
@ -28,5 +27,3 @@ class SOFTWARESHARED_EXPORT AtmosphereModelBruneton : public LightSource {
}; };
} }
} }
#endif // ATMOSPHEREMODELBRUNETON_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHERERENDERER_H #pragma once
#define ATMOSPHERERENDERER_H
#include "software_global.h" #include "software_global.h"
@ -45,5 +44,3 @@ class SoftwareBrunetonAtmosphereRenderer : public BaseAtmosphereRenderer {
}; };
} }
} }
#endif // ATMOSPHERERENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef ATMOSPHERERESULT_H #pragma once
#define ATMOSPHERERESULT_H
#include "software_global.h" #include "software_global.h"
@ -22,5 +21,3 @@ class SOFTWARESHARED_EXPORT AtmosphereResult {
}; };
} }
} }
#endif // ATMOSPHERERESULT_H

View file

@ -1,5 +1,4 @@
#ifndef BASECLOUDLAYERRENDERER_H #pragma once
#define BASECLOUDLAYERRENDERER_H
#include "software_global.h" #include "software_global.h"
@ -24,5 +23,3 @@ class BaseCloudLayerRenderer {
}; };
} }
} }
#endif // BASECLOUDLAYERRENDERER_H

View file

@ -1,5 +1,4 @@
#ifndef CANVAS_H #pragma once
#define CANVAS_H
#include "software_global.h" #include "software_global.h"
@ -60,5 +59,3 @@ class SOFTWARESHARED_EXPORT Canvas {
}; };
} }
} }
#endif // CANVAS_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASFRAGMENT_H #pragma once
#define CANVASFRAGMENT_H
#include "software_global.h" #include "software_global.h"
@ -52,5 +51,3 @@ class SOFTWARESHARED_EXPORT CanvasFragment {
}; };
} }
} }
#endif // CANVASFRAGMENT_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASLIVECLIENT_H #pragma once
#define CANVASLIVECLIENT_H
#include "software_global.h" #include "software_global.h"
@ -19,5 +18,3 @@ class SOFTWARESHARED_EXPORT CanvasLiveClient {
}; };
} }
} }
#endif // CANVASLIVECLIENT_H

View file

@ -1,5 +1,4 @@
#ifndef CANVASPICTUREWRITER_H #pragma once
#define CANVASPICTUREWRITER_H
#include "software_global.h" #include "software_global.h"
@ -52,5 +51,3 @@ class SOFTWARESHARED_EXPORT CanvasPictureWriter : public PictureWriter {
}; };
} }
} }
#endif // CANVASPICTUREWRITER_H

Some files were not shown because too many files have changed in this diff Show more