This still needs to be cleaned up, particularly to properly pass the texture size around--there are a few unnecessary '128x256' magic numbers scattered in the code.
6 lines
100 B
C++
6 lines
100 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
uint32_t pack_all(struct rect * rects, const uint32_t num_rects);
|