File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ The nice thing about go-gl is that you can install multiple profiles and write d
17
17
18
18
2- [ ** Glow** ] ( https://github.com/go-gl/glow ) - Go binding generator for OpenGL
19
19
20
- ``` bash
20
+ ``` shell
21
21
go get github.com/go-gl/glow
22
22
cd $GOPATH /src/github.com/go-gl/glow
23
23
go build
@@ -31,17 +31,19 @@ go install ./gl
31
31
` go get -u github.com/go-gl/glfw/v3.2/glfw `
32
32
33
33
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/... `
35
35
36
36
This package is the equivalent of the GLM library and probably has all the functionality but after some differences.
37
37
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.
38
38
39
39
40
40
To test that the installation is working, try the examples from go-gl.
41
41
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
+ ```
45
47
46
48
#### learnopengl.com tutorial
47
49
You can’t perform that action at this time.
0 commit comments