terrain-gen/src/config.h

39 lines
698 B
C++

#ifndef CONFIG_H
#define CONFIG_H
#include <string>
#include <QVector3D>
#include <QApplication>
class Config
{
private:
static QVector3D m_cameraPosition;
static QVector3D m_cameraRotation;
static bool m_terrainShowNormals;
static int m_skyTime;
static int m_skyInclination;
static bool m_skyAnimation;
static std::string m_shaderPath;
public:
static void load(const QApplication &app);
static QVector3D cameraPosition();
static QVector3D cameraRotation();
static bool terrainShowNormals();
static int skyTime();
static int skyInclination();
static bool skyAnimation();
static std::string shaderPath();
};
#endif // CONFIG_H