Fix url for project. Fix attribution links.
parent
ea84d018f1
commit
be6f3d9a62
|
@ -10,8 +10,8 @@ This project uses the following actual dependencies:
|
|||
* [go-gl][3] the Golang wrappers for OpenGL, specifically `v3.1/gles2`. (MIT License)
|
||||
|
||||
There are some [Go SDL Examples][5] and [Go OpenGL Examples][6] that I
|
||||
used to get my project started, both maintained by the same groups
|
||||
that maintain the wrapper libraries.
|
||||
used to get my project started. Both of them are maintained by the
|
||||
same group that maintains each wrapper library.
|
||||
|
||||
[Open.gl][1] got me up to speed on how OpenGL 3 works with the shader
|
||||
pipelines.
|
||||
|
@ -22,9 +22,9 @@ university, but this showed me how to actually apply it with OpenGL
|
|||
shaders.
|
||||
|
||||
|
||||
1: https://open.gl/introduction
|
||||
2: https://learnopengl.com/Lighting/Basic-Lighting
|
||||
3: https://github.com/go-gl/gl
|
||||
4: https://github.com/veandco/go-sdl2
|
||||
5: https://github.com/veandco/go-sdl2-examples
|
||||
6: https://github.com/go-gl/example
|
||||
[1]: https://open.gl/introduction
|
||||
[2]: https://learnopengl.com/Lighting/Basic-Lighting
|
||||
[3]: https://github.com/go-gl/gl
|
||||
[4]: https://github.com/veandco/go-sdl2
|
||||
[5]: https://github.com/veandco/go-sdl2-examples
|
||||
[6]: https://github.com/go-gl/example
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module gitea.wisellama.rocks/carpy-breakout
|
||||
module gitea.wisellama.rocks/Wisellama/carpy-breakout
|
||||
|
||||
go 1.17
|
||||
|
||||
|
|
6
main.go
6
main.go
|
@ -12,9 +12,9 @@ import (
|
|||
"github.com/go-gl/mathgl/mgl32"
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/breakout"
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/game_window"
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_objects"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/breakout"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/game_window"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
)
|
||||
|
||||
var cpuprofile = flag.String("cpuprofile", "", "write cpu profile to file")
|
||||
|
|
|
@ -3,7 +3,7 @@ package breakout
|
|||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_objects"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
)
|
||||
|
||||
type Brick struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package breakout
|
|||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_objects"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
)
|
||||
|
||||
type Targets struct {
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"github.com/go-gl/mathgl/mgl32"
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_objects"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_objects"
|
||||
)
|
||||
|
||||
const DefaultWindowWidth int32 = 800
|
||||
|
|
|
@ -6,7 +6,7 @@ import (
|
|||
gl "github.com/go-gl/gl/v3.1/gles2"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
)
|
||||
|
||||
type Box struct {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package gl_objects
|
||||
|
||||
import (
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ package gl_objects
|
|||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
)
|
||||
|
||||
// Directional Light (e.g. the Sun)
|
||||
|
|
|
@ -6,8 +6,8 @@ import (
|
|||
gl "github.com/go-gl/gl/v3.1/gles2"
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/math_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/math_helpers"
|
||||
)
|
||||
|
||||
type Face struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package gl_objects
|
|||
import (
|
||||
"github.com/go-gl/mathgl/mgl32"
|
||||
|
||||
"gitea.wisellama.rocks/carpy-breakout/pkg/gl_helpers"
|
||||
"gitea.wisellama.rocks/Wisellama/carpy-breakout/pkg/gl_helpers"
|
||||
)
|
||||
|
||||
type Material struct {
|
||||
|
|
Loading…
Reference in New Issue