2
0
mirror of synced 2025-02-22 22:38:18 +00:00
David Crawshaw 10d5c6ef91 go.mobile/sprite/portable: transform bugfixes and documentation
The 1/geom.Scale was simply an incorrect version of m.Inverse.
The texture scaling is to correct the fact that the pixels of
texture images were being conflated with the pxiels on the
screen. There is no inherent width/height implied by the pixel
dimensions of a texture.

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/156340044
2014-10-21 08:41:44 -04:00
..