#pragma once #include "ShaderProgram.h" namespace td { namespace shader { class WorldShader : public ShaderProgram { private: unsigned int m_LocationCam = 0, m_LocationZoom = 0, m_LocationAspectRatio = 0, m_LocationViewtype = 0; protected: void GetAllUniformLocation(); public: WorldShader(); void LoadShader(); void SetCamPos(const Vec2f& camPos); void SetZoom(float zoom); void SetAspectRatio(float aspectRatio); void SetIsometricView(float isometric); }; } // namespace shader } // namespace td