summaryrefslogtreecommitdiffhomepage
path: root/src/batch.hpp
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2022-11-25 17:36:37 -0500
committerrealtradam <[email protected]>2022-11-25 17:36:37 -0500
commit62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4 (patch)
treeb91117aabf53eb1dec0b8dc0d34c7656872f71e8 /src/batch.hpp
parent4e7226ad1b081982e5cbed349edca1c5b0e1b779 (diff)
downloadOgle-62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4.tar.gz
Ogle-62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4.zip
cleanup code
Diffstat (limited to 'src/batch.hpp')
-rw-r--r--src/batch.hpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/batch.hpp b/src/batch.hpp
index 444a547..39a2a25 100644
--- a/src/batch.hpp
+++ b/src/batch.hpp
@@ -1,12 +1,15 @@
#pragma once
-#include <vector>
-
+// external libs
#include "glad/glad.h"
-#include <glm/glm.hpp>
+#include "glm/glm.hpp"
+// project headers
#include "texture.hpp"
+// std libs
+#include <vector>
+
class Batch
{
public:
@@ -32,7 +35,7 @@ class Batch
float height,
glm::vec4 color
);
- void flush_batch();
+ void flush();
private:
int primativeDrawQuad(
unsigned int texture_id,