Files
Bubberstation/code/__DEFINES/matrices.dm
LemonInTheDark c1f0141967 Fixes mineral turfs having weird lighting (#71219)
## 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
/🆑
2022-11-20 23:15:47 -08:00

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))