Skip to content

Commit

Permalink
Rename repository to example.
Browse files Browse the repository at this point in the history
Closes #58.
  • Loading branch information
dmitshur committed May 1, 2017
1 parent 95da75b commit 9f76501
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Contributing to go-gl/examples
==============================
Contributing to go-gl/example
=============================

We appreciate your help!

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# go-gl Examples [![Build Status](https://travis-ci.org/go-gl/examples.svg?branch=master)](https://travis-ci.org/go-gl/examples) [![GoDoc](https://godoc.org/github.com/go-gl/examples?status.svg)](https://godoc.org/github.com/go-gl/examples)
# go-gl Examples [![Build Status](https://travis-ci.org/go-gl/example.svg?branch=master)](https://travis-ci.org/go-gl/example) [![GoDoc](https://godoc.org/github.com/go-gl/example?status.svg)](https://godoc.org/github.com/go-gl/example)

Basic Usage
-----------
Expand Down
2 changes: 1 addition & 1 deletion gl21-cube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Cube
Renders a textured spinning cube using GLFW 3 and OpenGL 2.1.

```
go get -u github.com/go-gl/examples/gl21-cube
go get -u github.com/go-gl/example/gl21-cube
```

![Screenshot](Screenshot.png)
2 changes: 1 addition & 1 deletion gl21-cube/cube.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ func drawScene() {

// Set the working directory to the root of Go package, so that its assets can be accessed.
func init() {
dir, err := importPathToDir("github.com/go-gl/examples/gl21-cube")
dir, err := importPathToDir("github.com/go-gl/example/gl21-cube")
if err != nil {
log.Fatalln("Unable to find Go package in your GOPATH, it's needed to load assets:", err)
}
Expand Down
2 changes: 1 addition & 1 deletion gl41core-cube/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Cube
Renders a textured spinning cube using GLFW 3 and OpenGL 4.1 core forward-compatible profile.

```
go get -u github.com/go-gl/examples/gl41core-cube
go get -u github.com/go-gl/example/gl41core-cube
```

![Screenshot](Screenshot.png)
2 changes: 1 addition & 1 deletion gl41core-cube/cube.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ var cubeVertices = []float32{

// Set the working directory to the root of Go package, so that its assets can be accessed.
func init() {
dir, err := importPathToDir("github.com/go-gl/examples/gl41core-cube")
dir, err := importPathToDir("github.com/go-gl/example/gl41core-cube")
if err != nil {
log.Fatalln("Unable to find Go package in your GOPATH, it's needed to load assets:", err)
}
Expand Down

0 comments on commit 9f76501

Please sign in to comment.