diff options
Diffstat (limited to 'include/yage/sprite.hpp')
-rw-r--r-- | include/yage/sprite.hpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/include/yage/sprite.hpp b/include/yage/sprite.hpp deleted file mode 100644 index 9f765c7d..00000000 --- a/include/yage/sprite.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef SPRITE_HPP -#define SPRITE_HPP - -#include "gl_texture.hpp" - -#include <GL/glew.h> - -#include <string> - -class Sprite -{ -private: - float x_; - float y_; - float width_; - float height_; - GLuint vbo_id_ = 0; - GlTexture texture_; -public: - Sprite(); - ~Sprite(); - - void init(float x, float y, float width, float height, const std::string &texture_path); - void draw(); -}; - -#endif |