go.mobile/sprite/portable: package docs

LGTM=nigeltao
R=nigeltao
CC=golang-codereviews
https://golang.org/cl/162370044
This commit is contained in:
David Crawshaw 2014-10-29 09:32:18 -04:00
Родитель 2457abfa93
Коммит e406fcc9dd
1 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -2,7 +2,11 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Package portable blah blah blah TODO.
// Package portable implements a sprite Engine using the image package.
//
// It is intended to serve as a reference implementation for testing
// other sprite Engines written against OpenGL, or other more exotic
// modern hardware interfaces.
package portable
import (
@ -16,6 +20,7 @@ import (
"code.google.com/p/go.mobile/sprite/clock"
)
// Engine builds a sprite Engine that renders onto dst.
func Engine(dst *image.RGBA) sprite.Engine {
return &engine{
dst: dst,