summaryrefslogtreecommitdiffhomepage
path: root/src/batch.hpp
diff options
context:
space:
mode:
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,