mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-10 08:54:15 +00:00
## About The Pull Request Pixel offsets, unlike transforms, offset overlays too. this was breaking lighting overlays for mineral walls. We did pixel offsets to save on init time, but we can acomplish the same thing using an initial matrix. It's static, so there's no additional cost. S free Damn moth ## Changelog 🆑 fix: Mining walls won't have fucked lighting anymore /🆑
3 lines
134 B
Plaintext
3 lines
134 B
Plaintext
/// Helper macro for compile time translation
|
|
#define TRANSLATE_MATRIX(offset_x, offset_y) matrix(1, 0, (offset_x), 0, 1, (offset_y))
|