Skip to content

Commit

Permalink
Removed SpriteBatchMesh:: in the SpriteBatchMesh class declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
matt77hias committed Mar 28, 2017
1 parent f1db42f commit 3934f82
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MAGE/MAGE/src/mesh/sprite_batch_mesh.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ namespace mage {

public:

static const size_t SpriteBatchMesh::min_sprites_per_batch = 128;
static const size_t SpriteBatchMesh::max_sprites_per_batch = 2048;
static const size_t SpriteBatchMesh::vertices_per_sprite = 4; // quad = 2 triangles
static const size_t SpriteBatchMesh::indices_per_sprite = 6; // quad = 2 triangles
static const size_t min_sprites_per_batch = 128;
static const size_t max_sprites_per_batch = 2048;
static const size_t vertices_per_sprite = 4; // quad = 2 triangles
static const size_t indices_per_sprite = 6; // quad = 2 triangles

static constexpr size_t MinVerticesPerSprite() {
return min_sprites_per_batch * vertices_per_sprite;
Expand Down

0 comments on commit 3934f82

Please sign in to comment.