mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-30 03:22:41 +00:00
* Fixes Dwarfism matrix transformation issue. (#54027) Give person standing up Dwarfism. Their standing Y axis is scaled down. Have them lie down. Transformation matrix applied to rotate them. Cure Dwarfism. Their lying Y axis is scaled up after they've been rotated. This is the equivalent to scaling up their X axis standing. Repeat the process multiple times and eventually the player is only a couple of pixes tall and as wide as the screen. This fix creates a new matrix, scales that matrix and then multiplies it with the existing transformation matrix. In this way, the scale is applied first and all other transformations stack ontop of it, to create the final transformation matrix. * Fixes Dwarfism matrix transformation issue. Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>