Remove out-of-date comments in view-map

This commit is contained in:
2018-03-18 20:11:25 +00:00
parent 5e91c31139
commit 257acd6127

View File

@@ -137,8 +137,6 @@ func cellToVec(x, y int) pixel.Rect {
return pixel.Rect{Min: min, Max: max} return pixel.Rect{Min: min, Max: max}
} }
// TODO: cut this down to showing just the viewport?
// The naive approach using gameMap.Width() / Height() cuts half the map off :/
func present(win *pixelgl.Window, state *runState) { func present(win *pixelgl.Window, state *runState) {
gameMap := state.env.gameMap gameMap := state.env.gameMap
imd := imdraw.New(nil) imd := imdraw.New(nil)