v0
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package utils
|
||||
|
||||
import "image"
|
||||
|
||||
func GetCenter(x, y int) image.Point {
|
||||
return image.Point{
|
||||
X: x / 2,
|
||||
Y: y / 2,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user