From 257acd6127a54b7bd213e790b9f694d8c443d664 Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Sun, 18 Mar 2018 20:11:25 +0000 Subject: [PATCH] Remove out-of-date comments in view-map --- cmd/view-map/main.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/view-map/main.go b/cmd/view-map/main.go index 4d13508..0d3daf4 100644 --- a/cmd/view-map/main.go +++ b/cmd/view-map/main.go @@ -137,8 +137,6 @@ func cellToVec(x, y int) pixel.Rect { 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) { gameMap := state.env.gameMap imd := imdraw.New(nil)