mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Add strict test for whitespace at end of line
More work on coding style
This commit is contained in:
@@ -44,15 +44,15 @@ DebugRenderer* DebugRenderer::_reference = nullptr;
|
||||
|
||||
DebugRenderer::DebugRenderer() {
|
||||
_programObject = OsEng.renderEngine().buildRenderProgram(
|
||||
"BasicDebugShader",
|
||||
"BasicDebugShader",
|
||||
"${MODULE_DEBUGGING}/rendering/debugshader_vs.glsl",
|
||||
"${MODULE_DEBUGGING}/rendering/debugshader_fs.glsl"
|
||||
);
|
||||
}
|
||||
|
||||
DebugRenderer::DebugRenderer(std::unique_ptr<ghoul::opengl::ProgramObject> programObject)
|
||||
: _programObject(std::move(programObject))
|
||||
{
|
||||
: _programObject(std::move(programObject))
|
||||
{
|
||||
// nothing to do
|
||||
}
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
namespace openspace {
|
||||
|
||||
/**
|
||||
* A helper class for quick rendering of vertices IN clipping space.
|
||||
* A helper class for quick rendering of vertices IN clipping space.
|
||||
* The class is practically stateless. It only stores a ghoul::opengl::ProgramObject
|
||||
* which can be reused despite the fact that rendering calls are invoked from different
|
||||
* callers. Therefore a static reference is provided for convenience which is accessed
|
||||
@@ -77,7 +77,7 @@ public:
|
||||
/**
|
||||
* Takes a vector of exactly 8 vertices, i.e. corner points in a box.
|
||||
* The box corners should be ordered from smaller to larger,
|
||||
* first by x, the, y and finally z.
|
||||
* first by x, the, y and finally z.
|
||||
*
|
||||
* 6-------7
|
||||
* |\ |\
|
||||
@@ -93,7 +93,7 @@ public:
|
||||
/**
|
||||
* Takes a vector of exactly 8 vertices, i.e. corner points in a box.
|
||||
* The box corners should be ordered from smaller to larger,
|
||||
* first by x, the, y and finally z.
|
||||
* first by x, the, y and finally z.
|
||||
*
|
||||
* 6-------7
|
||||
* |\ |\
|
||||
@@ -124,7 +124,7 @@ public:
|
||||
|
||||
/**
|
||||
* Input arguments:
|
||||
* 1. const RenderData& data: defines position and camera that we will see the
|
||||
* 1. const RenderData& data: defines position and camera that we will see the
|
||||
* other cameras view frustum from
|
||||
* 2. const Camera& otherCamera: The camera who's view frustum is to be rendered
|
||||
* 3. RGBA rgba Color to draw the view frustum with
|
||||
@@ -143,7 +143,7 @@ public:
|
||||
|
||||
#ifdef OPENSPACE_MODULE_GLOBEBROWSING_ENABLED
|
||||
/**
|
||||
* Takes a AABB3 in screen space and returns vertices representing the corner points
|
||||
* Takes a AABB3 in screen space and returns vertices representing the corner points
|
||||
* of the AABB. The ordering of the corner points is compatible with the box
|
||||
* rendering methods in this class.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user