This script rendering via openGL / OpenGL for GoLang rotaiting 3D Cube
git clone https://github.com/GHRik/Cube3D.git
cd Cube3D
go run cube.go
To properly run script you have to gave instaled and ready to use:
- Gcc compiler ( for example MiniGW 64 )
- Golang for windows After install GoLang you have to go get a module:
go get github.com/go-gl/gl/v4.1-core/gl
go get github.com/go-gl/glfw/v3.3/glfw
go get github.com/go-gl/mathgl/mgl32
- cube.go - file with script
- demo_vide - directory with video which is on youtube
- images - directory with image necessary to use in README
- square.png - texture which is on rotaiting cube)