Removed log
This commit is contained in:
parent
498f3ddf8d
commit
d22ae68285
|
@ -2,7 +2,6 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"image"
|
"image"
|
||||||
"log"
|
|
||||||
"math/rand"
|
"math/rand"
|
||||||
"os"
|
"os"
|
||||||
"time"
|
"time"
|
||||||
|
@ -86,7 +85,6 @@ func drawTerrain(win *pixelgl.Window, imd *imdraw.IMDraw) {
|
||||||
win.Clear(colornames.Skyblue)
|
win.Clear(colornames.Skyblue)
|
||||||
for x := 0.; x < width; x++ {
|
for x := 0.; x < width; x++ {
|
||||||
y := p.Noise1D(x/waveLength)*scale + verticalOffset
|
y := p.Noise1D(x/waveLength)*scale + verticalOffset
|
||||||
log.Printf("%f\n", y)
|
|
||||||
renderTexturedLine(x, y, imd)
|
renderTexturedLine(x, y, imd)
|
||||||
}
|
}
|
||||||
imd.Draw(win)
|
imd.Draw(win)
|
||||||
|
|
Loading…
Reference in New Issue