#include "renderer.hpp"

#include "../world/world.hpp"
#include "shader.hpp"
#include "face.hpp"

Renderer::Renderer() {

}

// Perform the render passes
void Renderer::Render(std::shared_ptr<World> world, std::shared_ptr<Camera> camera) {

	for (int i = 0; i < world->Faces.size(); i++) {
		world->Faces[i]->Render(camera, world->Shaders["Basic"]);
	}

}
