2016-09-28 09:50:35 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "renderer.hpp"
|
|
|
|
|
|
|
|
#include "glclasses.hpp"
|
|
|
|
#include "game.hpp"
|
|
|
|
#include "state/planet.hpp"
|
|
|
|
#include "state/trace.hpp"
|
|
|
|
#include "state/player.hpp"
|
|
|
|
#include "state/ship.hpp"
|
|
|
|
|
|
|
|
namespace endofthejedi {
|
|
|
|
|
2016-09-28 11:00:40 +00:00
|
|
|
class RendererRayTracer : public Renderer {
|
2016-09-28 09:50:35 +00:00
|
|
|
private:
|
|
|
|
Shader m_shader;
|
|
|
|
protected:
|
|
|
|
public:
|
|
|
|
RendererRayTracer();
|
2016-09-28 11:00:40 +00:00
|
|
|
|
|
|
|
void setup() override;
|
2016-09-28 09:50:35 +00:00
|
|
|
void render(const game::State *state) override;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|