@@ -17,7 +17,7 @@ The nice thing about go-gl is that you can install multiple profiles and write d
1717
18182- [ ** Glow** ] ( https://github.com/go-gl/glow ) - Go binding generator for OpenGL
1919
20- ``` bash
20+ ``` shell
2121go get github.com/go-gl/glow
2222cd $GOPATH /src/github.com/go-gl/glow
2323go build
@@ -31,17 +31,19 @@ go install ./gl
3131` go get -u github.com/go-gl/glfw/v3.2/glfw `
3232
33334- [ ** 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
3636This package is the equivalent of the GLM library and probably has all the functionality but after some differences.
3737I 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
4040To 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