Skip to content

Commit

Permalink
Include style fixes for CesiumGeospatial
Browse files Browse the repository at this point in the history
  • Loading branch information
javagl committed Sep 19, 2021
1 parent 49781e9 commit 0f946ac
Show file tree
Hide file tree
Showing 19 changed files with 52 additions and 20 deletions.
5 changes: 3 additions & 2 deletions CesiumGeospatial/include/CesiumGeospatial/BoundingRegion.h
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
#pragma once

#include "CesiumGeometry/CullingResult.h"
#include "CesiumGeometry/OrientedBoundingBox.h"
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumGeospatial/Library.h"

#include <CesiumGeometry/CullingResult.h>
#include <CesiumGeometry/OrientedBoundingBox.h>

namespace CesiumGeometry {
class Plane;
}
Expand Down
3 changes: 2 additions & 1 deletion CesiumGeospatial/include/CesiumGeospatial/Cartographic.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#pragma once

#include "CesiumGeospatial/Library.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

namespace CesiumGeospatial {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumGeospatial/Library.h"

#include <glm/vec2.hpp>

#include <optional>
#include <string>
#include <vector>
Expand Down
4 changes: 3 additions & 1 deletion CesiumGeospatial/include/CesiumGeospatial/Ellipsoid.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

#include "CesiumGeospatial/Cartographic.h"
#include "CesiumGeospatial/Library.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <glm/vec3.hpp>
#include <optional>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#pragma once

#include "CesiumGeometry/Plane.h"
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumGeospatial/Library.h"

#include <CesiumGeometry/Plane.h>

#include <glm/mat4x4.hpp>
#include <glm/vec2.hpp>
#include <glm/vec3.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumGeospatial/Library.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <glm/vec2.hpp>
#include <glm/vec3.hpp>

Expand Down
4 changes: 3 additions & 1 deletion CesiumGeospatial/include/CesiumGeospatial/GlobeRectangle.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
#include "CesiumGeometry/Rectangle.h"
#include "CesiumGeospatial/Cartographic.h"
#include "CesiumGeospatial/Library.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <optional>

namespace CesiumGeospatial {
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/include/CesiumGeospatial/Projection.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "CesiumGeospatial/GeographicProjection.h"
#include "CesiumGeospatial/WebMercatorProjection.h"

#include <variant>

namespace CesiumGeospatial {
Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/include/CesiumGeospatial/Transforms.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumGeospatial/Library.h"

#include <glm/mat4x4.hpp>
#include <glm/vec3.hpp>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumGeospatial/Library.h"

#include <glm/vec2.hpp>
#include <glm/vec3.hpp>

Expand Down
11 changes: 7 additions & 4 deletions CesiumGeospatial/src/BoundingRegion.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#include "CesiumGeospatial/BoundingRegion.h"
#include "CesiumGeometry/IntersectionTests.h"
#include "CesiumGeometry/Plane.h"
#include "CesiumGeometry/Ray.h"

#include "CesiumGeospatial/EllipsoidTangentPlane.h"
#include "CesiumUtility/Math.h"

#include <CesiumGeometry/IntersectionTests.h>
#include <CesiumGeometry/Plane.h>
#include <CesiumGeometry/Ray.h>
#include <CesiumUtility/Math.h>

#include <stdexcept>

using namespace CesiumUtility;
Expand Down
4 changes: 3 additions & 1 deletion CesiumGeospatial/src/CartographicPolygon.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@

#include "CesiumGeospatial/CartographicPolygon.h"
#include <array>

#include <mapbox/earcut.hpp>

#include <array>

namespace CesiumGeospatial {

static std::vector<uint32_t>
Expand Down
4 changes: 3 additions & 1 deletion CesiumGeospatial/src/Ellipsoid.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "CesiumGeospatial/Ellipsoid.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <glm/geometric.hpp>
#include <glm/trigonometric.hpp>

Expand Down
8 changes: 5 additions & 3 deletions CesiumGeospatial/src/EllipsoidTangentPlane.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#include "CesiumGeospatial/EllipsoidTangentPlane.h"
#include "CesiumGeometry/IntersectionTests.h"
#include "CesiumGeometry/Plane.h"
#include "CesiumGeometry/Ray.h"

#include "CesiumGeospatial/Transforms.h"

#include <CesiumGeometry/IntersectionTests.h>
#include <CesiumGeometry/Plane.h>
#include <CesiumGeometry/Ray.h>

#include <stdexcept>

using namespace CesiumGeometry;
Expand Down
3 changes: 2 additions & 1 deletion CesiumGeospatial/src/GeographicProjection.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "CesiumGeospatial/GeographicProjection.h"
#include "CesiumGeospatial/Cartographic.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

namespace CesiumGeospatial {

Expand Down
3 changes: 2 additions & 1 deletion CesiumGeospatial/src/GlobeRectangle.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include "CesiumGeospatial/GlobeRectangle.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

using namespace CesiumUtility;

Expand Down
1 change: 1 addition & 0 deletions CesiumGeospatial/src/Projection.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include "CesiumGeospatial/Projection.h"

#include <glm/trigonometric.hpp>

namespace CesiumGeospatial {
Expand Down
4 changes: 3 additions & 1 deletion CesiumGeospatial/src/Transforms.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#include "CesiumGeospatial/Transforms.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <glm/gtc/epsilon.hpp>

using namespace CesiumUtility;
Expand Down
5 changes: 4 additions & 1 deletion CesiumGeospatial/src/WebMercatorProjection.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#include "CesiumGeospatial/WebMercatorProjection.h"

#include "CesiumGeospatial/Cartographic.h"
#include "CesiumUtility/Math.h"

#include <CesiumUtility/Math.h>

#include <glm/exponential.hpp>
#include <glm/trigonometric.hpp>

Expand Down

0 comments on commit 0f946ac

Please sign in to comment.