mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 23:09:32 -05:00
Add strict test for whitespace at end of line
More work on coding style
This commit is contained in:
@@ -45,15 +45,15 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>ChunkTile</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const ChunkTile& chunkTile);
|
||||
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
void bind(ghoul::opengl::ProgramObject* programObject, const std::string& nameBase);
|
||||
|
||||
@@ -45,18 +45,18 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>ChunkTilePile</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const ChunkTilePile& chunkTilePile);
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
void bind(ghoul::opengl::ProgramObject* programObject, const std::string& nameBase,
|
||||
void bind(ghoul::opengl::ProgramObject* programObject, const std::string& nameBase,
|
||||
int pileSize);
|
||||
/**
|
||||
* Deactivates any <code>TextureUnit</code>s assigned by this object.
|
||||
|
||||
@@ -49,14 +49,14 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>Layer</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
virtual void setValue(ghoul::opengl::ProgramObject* programObject, const Layer& layer,
|
||||
const TileIndex& tileIndex, int pileSize) override;
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
|
||||
@@ -48,14 +48,14 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>Layer</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
virtual void setValue(ghoul::opengl::ProgramObject* programObject, const Layer& layer,
|
||||
const TileIndex& tileIndex, int pileSize);
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
|
||||
@@ -58,7 +58,7 @@ void GPULayerGroup::bind(ghoul::opengl::ProgramObject* programObject,
|
||||
for (size_t i = 0; i < _gpuActiveLayers.size(); ++i) {
|
||||
// should maybe a proper GPULayer factory
|
||||
_gpuActiveLayers[i] = (category == layergroupid::GroupID::HeightLayers) ?
|
||||
std::make_unique<GPUHeightLayer>() :
|
||||
std::make_unique<GPUHeightLayer>() :
|
||||
std::make_unique<GPULayer>();
|
||||
std::string nameExtension = "[" + std::to_string(i) + "].";
|
||||
_gpuActiveLayers[i]->bind(
|
||||
|
||||
@@ -55,14 +55,14 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>LayerGroup</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
virtual void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const LayerGroup& layerGroup, const TileIndex& tileIndex);
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
namespace openspace::globebrowsing {
|
||||
|
||||
void GPULayerManager::setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const LayerManager& layerManager,
|
||||
const LayerManager& layerManager,
|
||||
const TileIndex& tileIndex)
|
||||
{
|
||||
auto layerGroups = layerManager.layerGroups();
|
||||
|
||||
@@ -45,14 +45,14 @@ public:
|
||||
|
||||
/**
|
||||
* Sets the value of <code>LayerGroup</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
virtual void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const LayerManager& layerManager, const TileIndex& tileIndex);
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
|
||||
@@ -42,14 +42,14 @@ class GPULayerRenderSettings{
|
||||
public:
|
||||
/**
|
||||
* Sets the value of <code>LayerRenderSettings</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const LayerRenderSettings& layerSettings);
|
||||
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
/**
|
||||
* Binds this object with GLSL variables with identifiers starting
|
||||
* with nameBase within the provided shader program.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
|
||||
@@ -42,15 +42,15 @@ class GPUTileDepthTransform {
|
||||
public:
|
||||
/**
|
||||
* Sets the value of <code>TileDepthTransform</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const TileDepthTransform& depthTransform);
|
||||
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
void bind(ghoul::opengl::ProgramObject* programObject,
|
||||
|
||||
@@ -42,15 +42,15 @@ class GPUTileUvTransform {
|
||||
public:
|
||||
/**
|
||||
* Sets the value of <code>TileUvTransform</code> to its corresponding
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* GPU struct. OBS! Users must ensure bind has been
|
||||
* called before setting using this method.
|
||||
*/
|
||||
void setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const TileUvTransform& uvTransform);
|
||||
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
/**
|
||||
* Binds GLSL variables with identifiers starting with
|
||||
* nameBase within the provided shader program with this object.
|
||||
* After this method has been called, users may invoke setValue.
|
||||
*/
|
||||
void bind(ghoul::opengl::ProgramObject* programObject,
|
||||
|
||||
Reference in New Issue
Block a user