Skip to content

Commit

Permalink
Update APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitshur committed Mar 25, 2016
1 parent f3b4376 commit 0802eba
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 8 deletions.
6 changes: 3 additions & 3 deletions 111/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"github.com/goxjs/gl"
"github.com/goxjs/gl/glutil"
"github.com/goxjs/glfw"
"github.com/shurcooL/go/gists/gist6545684"
"github.com/shurcooL/eX0/eX0-go/gpc"
"golang.org/x/mobile/exp/f32"
)

Expand Down Expand Up @@ -90,7 +90,7 @@ var windowSize = [2]int{1280, 1280}

var cameraX, cameraY float64 = 825, 510

var polygon gist6545684.Polygon
var polygon gpc.Polygon

func main() {
err := glfw.Init(gl.ContextWatcher)
Expand Down Expand Up @@ -136,7 +136,7 @@ func main() {
if err != nil {
panic(err)
}
polygon, err = gist6545684.ReadGpcFromReader(f)
polygon, err = gpc.Parse(f)
f.Close()
if err != nil {
panic(err)
Expand Down
Loading

0 comments on commit 0802eba

Please sign in to comment.