reverted changed to my imports.
This commit is contained in:
parent
490ab4df63
commit
f840c9ccd5
7 changed files with 20 additions and 16 deletions
|
@ -1,3 +1,3 @@
|
||||||
module github.com/yatagarasu25/raylib-go/easings
|
module github.com/gen2brain/raylib-go/easings
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
|
@ -2,19 +2,19 @@ module examples
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
replace github.com/yatagarasu25/raylib-go/raylib => ../raylib
|
replace github.com/gen2brain/raylib-go/raylib => ../raylib
|
||||||
|
|
||||||
replace github.com/yatagarasu25/raylib-go/raygui => ../raygui
|
replace github.com/gen2brain/raylib-go/raygui => ../raygui
|
||||||
|
|
||||||
replace github.com/yatagarasu25/raylib-go/easings => ../easings
|
replace github.com/gen2brain/raylib-go/easings => ../easings
|
||||||
|
|
||||||
replace github.com/yatagarasu25/raylib-go/physics => ../physics
|
replace github.com/gen2brain/raylib-go/physics => ../physics
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/yatagarasu25/raylib-go/easings v0.0.0-00010101000000-000000000000
|
github.com/gen2brain/raylib-go/easings v0.0.0-00010101000000-000000000000
|
||||||
github.com/yatagarasu25/raylib-go/physics v0.0.0-00010101000000-000000000000
|
github.com/gen2brain/raylib-go/physics v0.0.0-00010101000000-000000000000
|
||||||
github.com/yatagarasu25/raylib-go/raygui v0.0.0-00010101000000-000000000000
|
github.com/gen2brain/raylib-go/raygui v0.0.0-00010101000000-000000000000
|
||||||
github.com/yatagarasu25/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
github.com/gen2brain/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
||||||
github.com/jakecoffman/cp v1.2.1
|
github.com/jakecoffman/cp v1.2.1
|
||||||
github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b
|
github.com/neguse/go-box2d-lite v0.0.0-20170921151050-5d8ed9b7272b
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
module github.com/yatagarasu25/raylib-go/physics
|
module github.com/gen2brain/raylib-go/physics
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
require github.com/yatagarasu25/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
require github.com/gen2brain/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ebitengine/purego v0.5.0 // indirect
|
github.com/ebitengine/purego v0.5.0 // indirect
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
module github.com/yatagarasu25/raylib-go/raygui
|
module github.com/gen2brain/raylib-go/raygui
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
require github.com/yatagarasu25/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
require github.com/gen2brain/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ebitengine/purego v0.5.0 // indirect
|
github.com/ebitengine/purego v0.5.0 // indirect
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
module github.com/yatagarasu25/raylib-go/raylib
|
module github.com/gen2brain/raylib-go/raylib
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
|
|
|
@ -575,6 +575,10 @@ func NewRectangle(x, y, width, height float32) Rectangle {
|
||||||
return Rectangle{x, y, width, height}
|
return Rectangle{x, y, width, height}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (r *Rectangle) Delta(x, y, width, height float32) Rectangle {
|
||||||
|
return Rectangle{float32(r.X + x), float32(r.Y + y), float32(r.Width + width), float32(r.Height + height)}
|
||||||
|
}
|
||||||
|
|
||||||
// ToInt32 converts rectangle to int32 variant
|
// ToInt32 converts rectangle to int32 variant
|
||||||
func (r *Rectangle) ToInt32() RectangleInt32 {
|
func (r *Rectangle) ToInt32() RectangleInt32 {
|
||||||
rect := RectangleInt32{}
|
rect := RectangleInt32{}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
module github.com/yatagarasu25/raylib-go/rres
|
module github.com/gen2brain/raylib-go/rres
|
||||||
|
|
||||||
go 1.21
|
go 1.21
|
||||||
|
|
||||||
require github.com/yatagarasu25/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
require github.com/gen2brain/raylib-go/raylib v0.0.0-20231118125650-a1c890e8cbfc
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/ebitengine/purego v0.5.0 // indirect
|
github.com/ebitengine/purego v0.5.0 // indirect
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue