#ifndef GLOBALCANVASSETTINGS_H
#define GLOBALCANVASSETTINGS_H

#include <glm/glm.hpp>

class GlobalCanvasSettings
{
	public:
		static void setProjectionMatrix(const glm::mat4 &proj);
		static void setViewMatrix(const glm::mat4 &view);
		static const glm::mat4 &getViewMatrix();
		static const glm::mat4 &getProjectionMatrix();
		static const glm::mat4 &getPVMatrix();
		static const glm::vec3 &getCameraPosition();
		static void setCameraPosition(const glm::vec3 &cam_pos);
	private:
		static void calculatePVMatrix();
		static glm::mat4 m_proj;
		static glm::mat4 m_view;
		static glm::mat4 m_proj_view;
		static glm::vec3 m_cam_pos;
};

#endif // GLOBALCANVASSETTINGS_H
