diff options
| author | realtradam <[email protected]> | 2022-11-25 17:36:37 -0500 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-11-25 17:36:37 -0500 |
| commit | 62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4 (patch) | |
| tree | b91117aabf53eb1dec0b8dc0d34c7656872f71e8 /src/batch.hpp | |
| parent | 4e7226ad1b081982e5cbed349edca1c5b0e1b779 (diff) | |
| download | Ogle-62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4.tar.gz Ogle-62de63a0d26ece5c0dc2cd48c0a41d35de1e38d4.zip | |
cleanup code
Diffstat (limited to 'src/batch.hpp')
| -rw-r--r-- | src/batch.hpp | 11 |
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, |
