initial import, >900commits predate this

This commit is contained in:
2020-09-29 13:47:50 +02:00
commit e74154ccee
352 changed files with 108120 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#pragma once
#include "./texture.hpp"
namespace MM::OpenGL {
// a SpriteSheet is a texture divided evenly into a Grid
struct SpriteSheet {
MM::OpenGL::Texture::handle tex = nullptr;
struct {
uint32_t x = 1;
uint32_t y = 1;
} tile_count;
};
} // MM::OpenGL