Add strict test for whitespace at end of line

More work on coding style
This commit is contained in:
Alexander Bock
2017-11-09 23:47:51 -05:00
parent 7b12a241ed
commit afa1d6d33e
223 changed files with 1402 additions and 961 deletions
@@ -109,7 +109,7 @@ private:
* The _volumes map keeps track of which volumes that can
* be rendered using the current resolve program, along with their raycast data
* (id, namespace, etc)
*/
*/
std::map<VolumeRaycaster*, RaycastData> _raycastData;
std::map<VolumeRaycaster*, std::unique_ptr<ghoul::opengl::ProgramObject>> _boundsPrograms;
std::vector<std::string> _helperPaths;
+1 -1
View File
@@ -42,7 +42,7 @@ struct UpdateData;
struct RendererTasks;
struct SurfacePositionHandle;
namespace documentation { struct Documentation; }
namespace documentation { struct Documentation; }
// Forward declare to minimize dependencies
@@ -44,7 +44,7 @@ namespace documentation { struct Documentation; }
/**
* The base class for screen space images and screen space framebuffers.
* This base class handles general functionality specific to planes that are rendered in
* This base class handles general functionality specific to planes that are rendered in
* front of the camera. It implements protected methods and properties for converting
* the planes from Spherical to Euclidean coordinates and back. It also specifies the
* interface that its children need to implement.
@@ -79,7 +79,7 @@ protected:
* Converts Spherical coordinates to Euclidean.
* \param spherical The coordinates theta and phi
* \param radius The radius position value of the plane
* \return The x and y position value of the plane
* \return The x and y position value of the plane
*/
glm::vec2 toEuclidean(const glm::vec2& spherical, float radius);
+6 -6
View File
@@ -40,7 +40,7 @@ public:
/**
* Constructor
*/
Volume() {};
Volume() {};
/**
* Destructor
@@ -76,7 +76,7 @@ public:
*
* The shader preprocessor will have acceess to
* A #{namespace} variable (unique per helper file)
*
*
* Should define the function:
* vec4 getVertex()
*/
@@ -84,14 +84,14 @@ public:
/*
* Return a path to a file with the functions, uniforms and fragment shader in variables
* required to generate the fragment color and depth.
* required to generate the fragment color and depth.
*
* Should define the function:
* Fragment getFragment()
*
*
* The shader preprocessor will have acceess to
* A #{namespace} variable (unique per helper file)
*/
*/
//virtual std::string getBoundsFsPath() = 0;
/**
@@ -116,7 +116,7 @@ public:
* This file will be included once per shader program generated,
* regardless of how many volumes say they require the file.
* Ideal to avoid redefinitions of helper functions.
*
*
* The shader preprocessor will have access to the #{namespace} variable (unique per helper file)
* which should be a prefix to all symbols defined by the helper
*/
@@ -84,14 +84,14 @@ public:
/*
* Return a path to a file with the functions, uniforms and fragment shader in variables
* required to generate the fragment color and depth.
* required to generate the fragment color and depth.
*
* Should define the function:
* Fragment getFragment()
*
*
* The shader preprocessor will have acceess to
* A #{namespace} variable (unique per helper file)
*/
*/
virtual std::string getBoundsFsPath() const = 0 ;
/**
@@ -116,7 +116,7 @@ public:
* This file will be included once per shader program generated,
* regardless of how many volumes say they require the file.
* Ideal to avoid redefinitions of helper functions.
*
*
* The shader preprocessor will have access to the #{namespace} variable (unique per helper file)
* which should be a prefix to all symbols defined by the helper
*/
@@ -125,4 +125,4 @@ public:
} // namespace openspace
#endif // __OPENSPACE_CORE___VOLUMERAYCASTER___H__
#endif // __OPENSPACE_CORE___VOLUMERAYCASTER___H__