Corrected image placement
This commit is contained in:
parent
ee32e77d47
commit
0e13750f77
|
@ -54,8 +54,8 @@ func run() {
|
||||||
|
|
||||||
// In the beginning, vector1 will put background1 filling the whole window, while vector2 will
|
// In the beginning, vector1 will put background1 filling the whole window, while vector2 will
|
||||||
// put background2 just at the right side of the window, out of view
|
// put background2 just at the right side of the window, out of view
|
||||||
vector1 := pixel.V(windowWidth/2, (windowHeight/2)+1)
|
vector1 := pixel.V(windowWidth/2, (windowHeight / 2))
|
||||||
vector2 := pixel.V(windowWidth+(windowWidth/2), (windowHeight/2)+1)
|
vector2 := pixel.V(windowWidth+(windowWidth/2), (windowHeight / 2))
|
||||||
|
|
||||||
i := float64(0)
|
i := float64(0)
|
||||||
last := time.Now()
|
last := time.Now()
|
||||||
|
|
Loading…
Reference in New Issue