Remove out-of-date comments in view-map
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user