mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2026-03-20 19:02:58 +01:00
first commit
This commit is contained in:
9
gogame/rect/rect.go
Normal file
9
gogame/rect/rect.go
Normal file
@@ -0,0 +1,9 @@
|
||||
package rect
|
||||
|
||||
import (
|
||||
"github.com/veandco/go-sdl2/sdl"
|
||||
)
|
||||
|
||||
func Rect(top ,left, width,height int32) sdl.Rect {
|
||||
return sdl.Rect{top,left,width,height}
|
||||
}
|
||||
Reference in New Issue
Block a user