scenes/inf585/project/src/main.cpp
// Uniform data used when displaying an object in this scene
Uniform data used when displaying an object in this scene
Uniform data used when displaying an object in this scene
void opengl_uniform(GLuint shader, scene_environment const& current_scene)
{
	opengl_uniform(shader, "projection", current_scene.projection);
	opengl_uniform(shader, "view", scene.camera.matrix_view());
	opengl_uniform(shader, "light", scene.light, false);
}
void opengl_uniform ( GLuint shader , scene_environment const & current_scene ) { opengl_uniform ( shader , " " , current_scene . projection ) ; opengl_uniform ( shader , " " , scene . camera . matrix_view ( ) ) ; opengl_uniform ( shader , " " , scene . light , false ) ; }
Uniform data used when displaying an object in this scene
Uniform data used when displaying an object in this scene