Change import from /go-sdl-engine -> /nmage

This commit is contained in:
bloeys
2022-01-08 17:38:35 +04:00
parent d94cd9b803
commit b6336d0103
7 changed files with 13 additions and 13 deletions

View File

@ -1,8 +1,8 @@
package asserts package asserts
import ( import (
"github.com/bloeys/go-sdl-engine/consts" "github.com/bloeys/nmage/consts"
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
) )
func True(check bool, msg string) { func True(check bool, msg string) {

View File

@ -1,7 +1,7 @@
package buffers package buffers
import ( import (
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
"github.com/go-gl/gl/v4.1-core/gl" "github.com/go-gl/gl/v4.1-core/gl"
) )

View File

@ -1,7 +1,7 @@
package buffers package buffers
import ( import (
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
"github.com/go-gl/gl/v4.1-core/gl" "github.com/go-gl/gl/v4.1-core/gl"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/bloeys/go-sdl-engine module github.com/bloeys/nmage
go 1.17 go 1.17

10
main.go
View File

@ -6,11 +6,11 @@ import (
"github.com/bloeys/assimp-go/asig" "github.com/bloeys/assimp-go/asig"
"github.com/bloeys/gglm/gglm" "github.com/bloeys/gglm/gglm"
"github.com/bloeys/go-sdl-engine/asserts" "github.com/bloeys/nmage/asserts"
"github.com/bloeys/go-sdl-engine/buffers" "github.com/bloeys/nmage/buffers"
"github.com/bloeys/go-sdl-engine/input" "github.com/bloeys/nmage/input"
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
"github.com/bloeys/go-sdl-engine/shaders" "github.com/bloeys/nmage/shaders"
"github.com/go-gl/gl/v4.1-core/gl" "github.com/go-gl/gl/v4.1-core/gl"
"github.com/inkyblackness/imgui-go/v4" "github.com/inkyblackness/imgui-go/v4"
"github.com/veandco/go-sdl2/sdl" "github.com/veandco/go-sdl2/sdl"

View File

@ -2,8 +2,8 @@ package shaders
import ( import (
"github.com/bloeys/gglm/gglm" "github.com/bloeys/gglm/gglm"
"github.com/bloeys/go-sdl-engine/buffers" "github.com/bloeys/nmage/buffers"
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
"github.com/go-gl/gl/v4.1-core/gl" "github.com/go-gl/gl/v4.1-core/gl"
) )

View File

@ -5,7 +5,7 @@ import (
"os" "os"
"strings" "strings"
"github.com/bloeys/go-sdl-engine/logging" "github.com/bloeys/nmage/logging"
"github.com/go-gl/gl/v4.1-core/gl" "github.com/go-gl/gl/v4.1-core/gl"
) )