Removed log

This commit is contained in:
Sergio Vera Castellano 2018-01-11 09:56:36 +01:00
parent 498f3ddf8d
commit d22ae68285
1 changed files with 0 additions and 2 deletions

View File

@ -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)