File tree 6 files changed +7
-7
lines changed
6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1
- Contributing to go-gl/examples
2
- ==============================
1
+ Contributing to go-gl/example
2
+ =============================
3
3
4
4
We appreciate your help!
5
5
Original file line number Diff line number Diff line change 1
- # 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 )
1
+ # 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 )
2
2
3
3
Basic Usage
4
4
-----------
Original file line number Diff line number Diff line change 4
4
Renders a textured spinning cube using GLFW 3 and OpenGL 2.1.
5
5
6
6
```
7
- go get -u github.com/go-gl/examples /gl21-cube
7
+ go get -u github.com/go-gl/example /gl21-cube
8
8
```
9
9
10
10
![ Screenshot] ( Screenshot.png )
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ func drawScene() {
206
206
207
207
// Set the working directory to the root of Go package, so that its assets can be accessed.
208
208
func init () {
209
- dir , err := importPathToDir ("github.com/go-gl/examples /gl21-cube" )
209
+ dir , err := importPathToDir ("github.com/go-gl/example /gl21-cube" )
210
210
if err != nil {
211
211
log .Fatalln ("Unable to find Go package in your GOPATH, it's needed to load assets:" , err )
212
212
}
Original file line number Diff line number Diff line change 4
4
Renders a textured spinning cube using GLFW 3 and OpenGL 4.1 core forward-compatible profile.
5
5
6
6
```
7
- go get -u github.com/go-gl/examples /gl41core-cube
7
+ go get -u github.com/go-gl/example /gl41core-cube
8
8
```
9
9
10
10
![ Screenshot] ( Screenshot.png )
Original file line number Diff line number Diff line change @@ -320,7 +320,7 @@ var cubeVertices = []float32{
320
320
321
321
// Set the working directory to the root of Go package, so that its assets can be accessed.
322
322
func init () {
323
- dir , err := importPathToDir ("github.com/go-gl/examples /gl41core-cube" )
323
+ dir , err := importPathToDir ("github.com/go-gl/example /gl41core-cube" )
324
324
if err != nil {
325
325
log .Fatalln ("Unable to find Go package in your GOPATH, it's needed to load assets:" , err )
326
326
}
You can’t perform that action at this time.
0 commit comments