grouped files in subdirs.
This commit is contained in:
parent
7d8585c5d9
commit
aedda9d48e
14 changed files with 281 additions and 11 deletions
17
game/renderer_polygon_3d/renderer_polygon_3d.cpp
Normal file
17
game/renderer_polygon_3d/renderer_polygon_3d.cpp
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#include "renderer_polygon_3d.hpp"
|
||||
|
||||
#include <iostream>
|
||||
|
||||
namespace endofthejedi {
|
||||
void RendererPolygon3d::setup()
|
||||
{
|
||||
std::cout<<"setup 3d" << std::endl;
|
||||
}
|
||||
|
||||
void RendererPolygon3d::render(const game::State *state)
|
||||
{
|
||||
(void) state;
|
||||
|
||||
//std::cout<<"render 3d" << std::endl;
|
||||
}
|
||||
}
|
||||
25
game/renderer_polygon_3d/renderer_polygon_3d.hpp
Normal file
25
game/renderer_polygon_3d/renderer_polygon_3d.hpp
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#include "renderer.hpp"
|
||||
|
||||
#include "glclasses.hpp"
|
||||
|
||||
#include "game.hpp"
|
||||
|
||||
#include "state/trace.hpp"
|
||||
#include "state/object.hpp"
|
||||
#include "state/missile.hpp"
|
||||
#include "state/player.hpp"
|
||||
#include "state/planet.hpp"
|
||||
#include "state/ship.hpp"
|
||||
#include "state/explosion.hpp"
|
||||
|
||||
namespace endofthejedi {
|
||||
|
||||
class RendererPolygon3d : Renderer {
|
||||
private:
|
||||
protected:
|
||||
public:
|
||||
void setup();
|
||||
void render(const game::State *state) override;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue