Started switching OpenSpace projects to nested namespaces

Various cleanups
This commit is contained in:
Alexander Bock
2017-07-15 20:01:55 -04:00
parent 9d4215695d
commit 4dba552fd1
331 changed files with 1126 additions and 1917 deletions

View File

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -33,9 +33,7 @@
namespace openspace {
FieldlinesModule::FieldlinesModule()
: OpenSpaceModule(Name)
{}
FieldlinesModule::FieldlinesModule() : OpenSpaceModule(Name) {}
void FieldlinesModule::internalInitialize() {
auto fRenderable = FactoryManager::ref().factory<Renderable>();

View File

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -38,7 +38,7 @@
#include <fstream>
namespace {
std::string _loggerCat = "RenderableFieldlines";
const char* _loggerCat = "RenderableFieldlines";
const float defaultFieldlineStepSize = 0.5f;;
const glm::vec4 defaultFieldlineColor = glm::vec4(1.f, 0.f, 0.f, 1.f);
@@ -70,7 +70,7 @@ namespace {
const int SeedPointSourceFile = 0;
const int SeedPointSourceTable = 1;
}
} // namespace
namespace openspace {

View File

@@ -1,4 +1,4 @@
/*****************************************************************************************
/*****************************************************************************************
* *
* OpenSpace *
* *
@@ -35,14 +35,11 @@
#include <ghoul/misc/dictionary.h>
#include <ghoul/opengl/ghoul_gl.h>
namespace ghoul {
namespace opengl {
class ProgramObject;
}
}
namespace ghoul::opengl { class ProgramObject; }
namespace openspace {
struct LinePoint;
struct LinePoint;
class RenderableFieldlines : public Renderable {
public: