Change package name to edgaru089.ink/go/gl01 & Update dependencies

This commit is contained in:
2024-08-02 18:38:33 +08:00
parent e4fc6f4d96
commit c954c502ba
34 changed files with 90 additions and 82 deletions

View File

@ -3,7 +3,7 @@ package world
import (
"fmt"
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/util/itype"
)
// BlockRenderType is an enum describing the rendering process of a block

View File

@ -1,6 +1,6 @@
package blocks
import "edgaru089.ml/go/gl01/internal/world"
import "edgaru089.ink/go/gl01/internal/world"
const (
Nil = iota

View File

@ -1,9 +1,9 @@
package blocks
import (
"edgaru089.ml/go/gl01/internal/asset"
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ml/go/gl01/internal/world"
"edgaru089.ink/go/gl01/internal/asset"
"edgaru089.ink/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/world"
)
// texname is the full filename of the texture file (with .png)

View File

@ -1,8 +1,8 @@
package blocks
import (
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ml/go/gl01/internal/world"
"edgaru089.ink/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/world"
)
type SlabBehaviour struct{}

View File

@ -1,8 +1,8 @@
package blocks
import (
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ml/go/gl01/internal/world"
"edgaru089.ink/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/world"
)
type WaterBehaviour struct{}

View File

@ -5,7 +5,7 @@ import (
"io"
"log"
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/util/itype"
)
const (

View File

@ -5,10 +5,10 @@ import (
"time"
"unsafe"
"edgaru089.ml/go/gl01/internal/asset"
"edgaru089.ml/go/gl01/internal/io"
"edgaru089.ml/go/gl01/internal/util"
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/asset"
"edgaru089.ink/go/gl01/internal/io"
"edgaru089.ink/go/gl01/internal/util"
"edgaru089.ink/go/gl01/internal/util/itype"
"github.com/go-gl/gl/all-core/gl"
)

View File

@ -1,7 +1,7 @@
package world
import (
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/util/itype"
)
func (w *World) castworker(from, dir itype.Vec3d, maxlen float64, current itype.Vec3i, skipdir itype.Direction) (ok bool, blockcoord itype.Vec3i, face itype.Direction, where itype.Vec3d, dist float64) {

View File

@ -4,7 +4,7 @@ import (
"fmt"
"io"
"edgaru089.ml/go/gl01/internal/util/itype"
"edgaru089.ink/go/gl01/internal/util/itype"
)
// World holds a number of Chunks and Entities.

View File

@ -3,8 +3,8 @@ package worldgen
import (
"sync"
packworld "edgaru089.ml/go/gl01/internal/world"
"edgaru089.ml/go/gl01/internal/world/blocks"
packworld "edgaru089.ink/go/gl01/internal/world"
"edgaru089.ink/go/gl01/internal/world/blocks"
"github.com/aquilax/go-perlin"
)