f32: move to exp/f32.

In the long term, a lot of this package should be removed in favor of the
golang.org/x/image/math/f32 package. The latter is the common location for
matrix types shared across graphics libraries. For example, the
golang.org/x/image/draw package refers to golang.org/x/image/math/f64.

Change-Id: I9d7ccd3cb35912e0d9dc5bd46c919516ea840340
Reviewed-on: https://go-review.googlesource.com/11856
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Nigel Tao
2015-07-02 17:20:49 +10:00
parent 616f82b347
commit 467d8559f2
20 changed files with 11 additions and 11 deletions

View File

@ -42,10 +42,10 @@ import (
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/app/debug" "golang.org/x/mobile/exp/app/debug"
"golang.org/x/mobile/exp/audio" "golang.org/x/mobile/exp/audio"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/sprite" "golang.org/x/mobile/exp/sprite"
"golang.org/x/mobile/exp/sprite/clock" "golang.org/x/mobile/exp/sprite/clock"
"golang.org/x/mobile/exp/sprite/glsprite" "golang.org/x/mobile/exp/sprite/glsprite"
"golang.org/x/mobile/f32"
"golang.org/x/mobile/gl" "golang.org/x/mobile/gl"
) )

View File

@ -33,8 +33,8 @@ import (
"golang.org/x/mobile/app" "golang.org/x/mobile/app"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/app/debug" "golang.org/x/mobile/exp/app/debug"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/gl/glutil" "golang.org/x/mobile/exp/gl/glutil"
"golang.org/x/mobile/f32"
"golang.org/x/mobile/geom" "golang.org/x/mobile/geom"
"golang.org/x/mobile/gl" "golang.org/x/mobile/gl"
) )

View File

@ -38,10 +38,10 @@ import (
"golang.org/x/mobile/asset" "golang.org/x/mobile/asset"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/app/debug" "golang.org/x/mobile/exp/app/debug"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/sprite" "golang.org/x/mobile/exp/sprite"
"golang.org/x/mobile/exp/sprite/clock" "golang.org/x/mobile/exp/sprite/clock"
"golang.org/x/mobile/exp/sprite/glsprite" "golang.org/x/mobile/exp/sprite/glsprite"
"golang.org/x/mobile/f32"
"golang.org/x/mobile/gl" "golang.org/x/mobile/gl"
) )

View File

@ -23,7 +23,7 @@
// The interface to this package is not stable. It will change considerably. // The interface to this package is not stable. It will change considerably.
// Only use functions that provide package documentation. Semantics are // Only use functions that provide package documentation. Semantics are
// non-obvious. Be prepared for the package name to change. // non-obvious. Be prepared for the package name to change.
package f32 // import "golang.org/x/mobile/f32" package f32 // import "golang.org/x/mobile/exp/f32"
import ( import (
"encoding/binary" "encoding/binary"

View File

@ -14,7 +14,7 @@ import (
"sync" "sync"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/f32" "golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/geom" "golang.org/x/mobile/geom"
"golang.org/x/mobile/gl" "golang.org/x/mobile/gl"
) )

View File

@ -8,7 +8,7 @@ package glutil // import "golang.org/x/mobile/exp/gl/glutil"
import ( import (
"fmt" "fmt"
"golang.org/x/mobile/f32" "golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/gl" "golang.org/x/mobile/gl"
) )

View File

@ -13,10 +13,10 @@ import (
"image/draw" "image/draw"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/gl/glutil" "golang.org/x/mobile/exp/gl/glutil"
"golang.org/x/mobile/exp/sprite" "golang.org/x/mobile/exp/sprite"
"golang.org/x/mobile/exp/sprite/clock" "golang.org/x/mobile/exp/sprite/clock"
"golang.org/x/mobile/f32"
"golang.org/x/mobile/geom" "golang.org/x/mobile/geom"
) )

View File

@ -8,7 +8,7 @@ import (
"image" "image"
"image/draw" "image/draw"
"golang.org/x/mobile/f32" "golang.org/x/mobile/exp/f32"
) )
// affine draws each pixel of dst using bilinear interpolation of the // affine draws each pixel of dst using bilinear interpolation of the

View File

@ -15,7 +15,7 @@ import (
"testing" "testing"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/f32" "golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/geom" "golang.org/x/mobile/geom"
) )

View File

@ -14,9 +14,9 @@ import (
"image/draw" "image/draw"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/sprite" "golang.org/x/mobile/exp/sprite"
"golang.org/x/mobile/exp/sprite/clock" "golang.org/x/mobile/exp/sprite/clock"
"golang.org/x/mobile/f32"
) )
// Engine builds a sprite Engine that renders onto dst. // Engine builds a sprite Engine that renders onto dst.

View File

@ -29,8 +29,8 @@ import (
"image/draw" "image/draw"
"golang.org/x/mobile/event" "golang.org/x/mobile/event"
"golang.org/x/mobile/exp/f32"
"golang.org/x/mobile/exp/sprite/clock" "golang.org/x/mobile/exp/sprite/clock"
"golang.org/x/mobile/f32"
) )
type Arranger interface { type Arranger interface {