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:
Zed A. Shaw 2025-01-18 00:44:25 -05:00
parent 7fb2d5cf26
commit 7a74877849
9 changed files with 162 additions and 92729 deletions

View file

@ -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}};