mirror of
https://github.com/MadeOfJelly/MushMachine.git
synced 2025-01-10 15:13:14 +01:00
18 lines
270 B
C++
18 lines
270 B
C++
#pragma once
|
|
|
|
#include "./texture.hpp"
|
|
|
|
namespace MM::OpenGL {
|
|
|
|
// a SpriteSheet is a texture divided evenly into a Grid
|
|
struct SpriteSheet {
|
|
MM::OpenGL::Texture::handle_t tex = nullptr;
|
|
struct {
|
|
uint32_t x = 1;
|
|
uint32_t y = 1;
|
|
} tile_count;
|
|
};
|
|
|
|
} // MM::OpenGL
|
|
|