diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-13 17:53:21 +0100 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-08-13 17:53:21 +0100 |
commit | e220711a0495e40491f3ba04c485602d70a1f7d0 (patch) | |
tree | 498ae4158e4cddd2ffc9ac10ad927815202aee3c /include/YAGE/spritebatch.hpp | |
parent | b3d29409c0ec90a32a91243675a3f55617cf63e1 (diff) | |
download | YAGE-e220711a0495e40491f3ba04c485602d70a1f7d0.tar.gz YAGE-e220711a0495e40491f3ba04c485602d70a1f7d0.zip |
Removing googletest from doxygen and improving version headers
Diffstat (limited to 'include/YAGE/spritebatch.hpp')
-rw-r--r-- | include/YAGE/spritebatch.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/include/YAGE/spritebatch.hpp b/include/YAGE/spritebatch.hpp index 9446c40f..1b1c8bb8 100644 --- a/include/YAGE/spritebatch.hpp +++ b/include/YAGE/spritebatch.hpp @@ -6,8 +6,8 @@ * ---------------------------------------------------------------------------- */ -#ifndef SPRITE_BATCH_HPP -#define SPRITE_BATCH_HPP +#ifndef YAGE_SPRITE_BATCH_HPP +#define YAGE_SPRITE_BATCH_HPP #include "vertex.hpp" @@ -20,6 +20,8 @@ namespace yage { class SpriteBatch; +/** Glyph with information of the texture. + */ class Glyph { // member variables private: @@ -46,24 +48,20 @@ public: class RenderBatch { friend SpriteBatch; - // member variables private: GLsizei num_vertices_; GLint offset_; GLuint texture_; - // member functions public: RenderBatch(GLint offset, GLsizei num_vertices, GLuint texture); - // getters GLint offset() const { return offset_; } GLsizei num_vertices() const { return num_vertices_; } GLuint texture() const { return texture_; } }; class SpriteBatch { - // member variables public: static const int NUM_VERTICES = 6; |