This commit is contained in:
faiface 2016-12-21 21:09:38 +01:00
parent 4950d7d02c
commit bb8a82dbc1
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ func NewMultiShape(parent pixelgl.Doer, shapes ...*Shape) *MultiShape {
//
// Usually, you only transform objects when you're drawing them (by passing transforms to the Draw method).
// With sprites however, it can be useful to also transform them "statically". For example, sprites are
// anchor by their bottom-left corner by default. Setting a transform can change this anchor to the center,
// anchor by their bottom-left corner by default. Setting a transform can change this anchored to the center,
// or wherever you want.
type Sprite struct {
*Shape