2
0
mirror of synced 2025-02-22 14:28:14 +00:00

10 Commits

Author SHA1 Message Date
David Crawshaw
e406fcc9dd go.mobile/sprite/portable: package docs
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/162370044
2014-10-29 09:32:18 -04:00
Nigel Tao
fab1e51609 go.mobile/geom: rename Scale to PixelsPerPt.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/160160043
2014-10-22 13:50:04 +11: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
David Crawshaw
cf4f75ce44 go.mobile/sprite: add AppendChild and RemoveChild from go.net/html
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/153680046
2014-10-19 10:49:39 -04:00
David Crawshaw
90974e3a0b go.mobile/sprite/portable: support draw.Over, document affine and invert sprite matrix
Still trying to come up with some good tests for this package.

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/160880043
2014-10-15 09:44:21 -04:00
Nigel Tao
2b51510f07 go.mobile/sprite: use clock.Time instead of sprite.Time.
LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/156950044
2014-10-13 09:09:32 +11:00
David Crawshaw
07f3aef267 go.mobile/sprite/clock: Time type and Cubic Bezier tween functions
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/151120043
2014-10-07 12:19:04 -07:00
David Crawshaw
c7a16f3e6b go.mobile/sprite: use f32.Affine and draw to backing image
LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/146150043
2014-10-03 14:56:54 +10:00
Nigel Tao
fac63c531f go.mobile/sprite: initial check-in.
Mostly just a design sketch for now.

LGTM=crawshaw
R=crawshaw
CC=golang-codereviews
https://golang.org/cl/150390043
2014-10-02 13:25:02 +10:00
David Crawshaw
4ea61e7184 go.mobile/sprite/portable: affine transform
This code is an import from my long-defunct graphics
library, code.google.com/p/graphics-go. It was
reviewed by nigeltao back in the day.

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/142520043
2014-09-27 03:10:15 +10:00