#include "environment.hpp"

std::string project::path = "";
float project::gui_scale = 1.5f;

environment_structure::environment_structure()
{
	background_color = { 1,1,1 };
	light = { 1,1,1 };
}



void environment_structure::send_opengl_uniform(opengl_shader_structure const& shader, bool expected) const
{
	opengl_uniform(shader, "projection", camera_projection, expected);
	opengl_uniform(shader, "view", camera_view, expected);
	opengl_uniform(shader, "light", light, false);

	uniform_generic.send_opengl_uniform(shader, false);

}