mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 10:28:44 -05:00
- Add check in style guide that prevents ‘using namespace’ in header files
- Remove using namespace ghoul::opengl from Globebrowsing and adjust
This commit is contained in:
@@ -33,18 +33,19 @@
|
||||
namespace openspace {
|
||||
namespace globebrowsing {
|
||||
|
||||
void GPUHeightLayer::setValue(ProgramObject* programObject, const Layer& layer,
|
||||
const TileIndex& tileIndex, int pileSize)
|
||||
void GPUHeightLayer::setValue(ghoul::opengl::ProgramObject* programObject,
|
||||
const Layer& layer, const TileIndex& tileIndex,
|
||||
int pileSize)
|
||||
{
|
||||
GPULayer::setValue(programObject, layer, tileIndex, pileSize);
|
||||
gpuDepthTransform.setValue(programObject, layer.tileProvider()->depthTransform());
|
||||
_gpuDepthTransform.setValue(programObject, layer.tileProvider()->depthTransform());
|
||||
}
|
||||
|
||||
void GPUHeightLayer::bind(ProgramObject* programObject, const Layer& layer,
|
||||
void GPUHeightLayer::bind(ghoul::opengl::ProgramObject* programObject, const Layer& layer,
|
||||
const std::string& nameBase, int pileSize)
|
||||
{
|
||||
GPULayer::bind(programObject, layer, nameBase, pileSize);
|
||||
gpuDepthTransform.bind(programObject, nameBase + "depthTransform.");
|
||||
_gpuDepthTransform.bind(programObject, nameBase + "depthTransform.");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user