Fixed that crash and cleaned up more variables for some study next. I might also try out my debug macros.
This commit is contained in:
parent
7fb2d5cf26
commit
7a74877849
9 changed files with 162 additions and 92729 deletions
|
@ -18,8 +18,8 @@ using Image = std::vector<uint32_t>;
|
|||
|
||||
struct TexturePack {
|
||||
int NUM_SPRITES=1;
|
||||
static const int TEXTURE_WIDTH=256; // must be power of two
|
||||
static const int TEXTURE_HEIGHT=256; // must be power of two
|
||||
constexpr static const int TEXTURE_WIDTH=256; // must be power of two
|
||||
constexpr static const int TEXTURE_HEIGHT=256; // must be power of two
|
||||
|
||||
std::vector<Image> images;
|
||||
std::vector<Sprite> sprites{{4.0, 3.55, 6}};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue