Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 14b3836

Browse files
Merge pull request #2 from bramp/patch-1
Updated README.md to use the correct/new paths
2 parents 5e445bd + 8c31036 commit 14b3836

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎README.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ The nice thing about go-gl is that you can install multiple profiles and write d
1717

1818
2- [**Glow**](https://github.com/go-gl/glow) - Go binding generator for OpenGL
1919

20-
```bash
20+
```shell
2121
go get github.com/go-gl/glow
2222
cd $GOPATH/src/github.com/go-gl/glow
2323
go build
@@ -31,17 +31,19 @@ go install ./gl
3131
`go get -u github.com/go-gl/glfw/v3.2/glfw`
3232

3333
4- [**MathGL**](https://github.com/go-gl/mathgl) - A pure Go 3D math library
34-
`go get github.com/go-gl/mathgl`
34+
`go get github.com/go-gl/mathgl/...`
3535

3636
This package is the equivalent of the GLM library and probably has all the functionality but after some differences.
3737
I didnt dive too deep into it, but I am getting different matrices when running the same sample in C++ with glm vs Go with mgl32.
3838

3939

4040
To test that the installation is working, try the examples from go-gl.
4141

42-
`go get github.com/go-gl/examples`
43-
44-
Run the `gl41core-cube` example by executing `go run cube.go`
42+
```shell
43+
go get github.com/go-gl/example
44+
cd $GOPATH/src/github.com/go-gl/example
45+
go run gl41core-cube/cube.go
46+
```
4547

4648
#### learnopengl.com tutorial
4749

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /