mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-05-05 02:20:11 -05:00
- Remove documentation.h include and replace with forward declaration
- Move Documentation struct into documentation namespace
This commit is contained in:
@@ -33,9 +33,6 @@
|
||||
|
||||
#include <ghoul/opengl/programobject.h>
|
||||
|
||||
#include <openspace/documentation/documentation.h>
|
||||
|
||||
|
||||
// Forward declare to minimize dependencies
|
||||
namespace ghoul {
|
||||
namespace opengl {
|
||||
@@ -46,6 +43,8 @@ namespace ghoul {
|
||||
|
||||
namespace openspace {
|
||||
|
||||
namespace documentation { struct Documentation; }
|
||||
|
||||
// Forward declare to minimize dependencies
|
||||
|
||||
class Camera;
|
||||
@@ -93,7 +92,7 @@ public:
|
||||
|
||||
static void setPscUniforms(ghoul::opengl::ProgramObject& program, const Camera& camera, const PowerScaledCoordinate& position);
|
||||
|
||||
static openspace::Documentation Documentation();
|
||||
static documentation::Documentation Documentation();
|
||||
|
||||
protected:
|
||||
properties::BoolProperty _enabled;
|
||||
|
||||
Reference in New Issue
Block a user