summaryrefslogtreecommitdiff
path: root/inc/opengl/rectdrawer.hpp
diff options
context:
space:
mode:
authormajortom6 <tombarrett@siu.edu>2017-02-19 11:13:04 -0600
committerTom Barrett <tombarrett@siu.edu>2017-03-07 13:23:41 -0600
commit379803180921534a42743c1c5fb40647015c3dba (patch)
tree9ede054a43a871ab6cdfcf17099d4acdb9e2f249 /inc/opengl/rectdrawer.hpp
parentfcf6abaccec7c7ed2fd306a9cf1ec378f303297c (diff)
-removed rectdrawer
-removed unused shader -cleaned up main and window
Diffstat (limited to 'inc/opengl/rectdrawer.hpp')
-rw-r--r--inc/opengl/rectdrawer.hpp47
1 files changed, 0 insertions, 47 deletions
diff --git a/inc/opengl/rectdrawer.hpp b/inc/opengl/rectdrawer.hpp
deleted file mode 100644
index f2ca1e5..0000000
--- a/inc/opengl/rectdrawer.hpp
+++ /dev/null
@@ -1,47 +0,0 @@
-#ifndef rectdrawer_h
-#define rectdrawer_h
-
-
-#include <GL/glew.h>
-#include <vector>
-#include <iostream>
-#include "geoshader.hpp"
-#include "graphicsdata.hpp"
-#include "spritebatch.hpp"
-
-
-//merge this with spritebatch
-class Rectdrawer
-{
-public:
- Rectdrawer(GeoShader theshader);
- ~Rectdrawer();
-
-
- //void init();
- void begin();
- void end();
- void draw(const GraphicsData& gfxData);
- void renderBatch();
-
-private:
- // Creates all the needed RenderBatches
- void createRenderBatches();
-
-
- GLuint _vbo;
- GLuint _vao;
-
-
- std::vector<GraphicsData*> _gfxPtr; ///< This is for sorting
- std::vector<GraphicsData> _gfx; ///< These are the actual glyphs
- std::vector<RenderBatch> _renderBatches;
-
- GeoShader shader;
-
-
-};
-
-
-#endif
-