mirror of
https://github.com/clockworkpi/LauncherGoDev.git
synced 2025-12-13 00:18:52 +01:00
10 lines
180 B
Go
10 lines
180 B
Go
package rect
|
|
|
|
import (
|
|
"github.com/veandco/go-sdl2/sdl"
|
|
)
|
|
|
|
func Rect(top ,left, width,height int) sdl.Rect {
|
|
return sdl.Rect{int32(top),int32(left),int32(width),int32(height)}
|
|
}
|